更新 : 2007 年 11 月
Items プロパティから返される、コンテキスト項目マネージャのインスタンスを作成します。
名前空間 : Microsoft.Windows.Design
アセンブリ : Microsoft.Windows.Design (Microsoft.Windows.Design.dll 内)
構文
'宣言
Protected Overridable Function CreateContextItemManager As ContextItemManager
'使用
Dim returnValue As ContextItemManager
returnValue = Me.CreateContextItemManager()
protected virtual ContextItemManager CreateContextItemManager()
protected:
virtual ContextItemManager^ CreateContextItemManager()
protected function CreateContextItemManager() : ContextItemManager
戻り値
型 : Microsoft.Windows.Design.ContextItemManager
ContextItemManager クラスの実装。
解説
既定の実装は、SubscribeContextCallback<ContextItemType> を宣言することで、デザイン エディタ マネージャの遅延アクティベーションをサポートする ContextItemManager を作成します。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。