ModelItemCollection.Item 屬性
在衍生類別中覆寫時,在指定的索引上取得或設定項目。 這是相依性屬性。
命名空間: Microsoft.Windows.Design.Model
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public MustOverride Default Property Item ( _
index As Integer _
) As ModelItem
Get
Set
public abstract ModelItem this[
int index
] { get; set; }
public:
virtual property ModelItem^ default[int index] {
ModelItem^ get (int index) abstract;
void set (int index, ModelItem^ value) abstract;
}
abstract Item : ModelItem with get, set
JScript 不支援索引屬性。
參數
- index
型別:System.Int32
要設定或擷取的索引。
屬性值
型別:Microsoft.Windows.Design.Model.ModelItem
ModelItem ,表示指定之索引上的項目。
實作
相依性屬性資訊
識別項欄位 |
|
中繼資料屬性設為 true |
None |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Model 命名空間