ArrayExtension.Items 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得陣列內容。 透過 XAML 集合語法設定。
public:
property System::Collections::IList ^ Items { System::Collections::IList ^ get(); };
public System.Collections.IList Items { get; }
member this.Items : System.Collections.IList
Public ReadOnly Property Items As IList
屬性值
陣列內容。
備註
Items 是 的 ArrayExtension屬性 XAML 內容屬性。 XAML 內容屬性指定支援典型的 XAML 用法,即在 XAML 中指定陣列中的項目元素為子物件元素。
Items是 [MS-XAML] 中定義ArrayExtension.Items的 intrinsic x:ArrayExtension 屬性的物件模型與標記擴充實作暴露。
與 中的Type項目之間的Items類型不符或其他驗證問題,在被呼叫前ProvideValue不會被報告為例外。 此行為符合 XAML 標記擴充的一般設計原則。
關於 XAML 的使用資訊,請參見 x:Array Markup 擴充功能。