指定したインデックスにあるプロパティ識別子を設定します。
名前空間: Microsoft.Windows.Design.Model
アセンブリ: Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)
構文
'宣言
Protected Overrides Sub SetItem ( _
index As Integer, _
item As PropertyIdentifier _
)
protected override void SetItem(
int index,
PropertyIdentifier item
)
protected:
virtual void SetItem(
int index,
PropertyIdentifier item
) override
abstract SetItem :
index:int *
item:PropertyIdentifier -> unit
override SetItem :
index:int *
item:PropertyIdentifier -> unit
protected override function SetItem(
index : int,
item : PropertyIdentifier
)
パラメーター
- index
型: System.Int32
item に設定するインデックス。
- item
型: Microsoft.Windows.Design.Metadata.PropertyIdentifier
設定するプロパティ識別子。
例外
例外 | 条件 |
---|---|
ArgumentNullException | item は nullnull 参照 (Visual Basic では Nothing) なので、 |
ArgumentException | item はコレクションに既に存在します。 |
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
PropertyIdentifierCollection クラス
Microsoft.Windows.Design.Model 名前空間