CollectionEditor.NewItemTypes 屬性

定義

取得可為這個集合建立的項目之可用型別。

protected:
 property cli::array <Type ^> ^ NewItemTypes { cli::array <Type ^> ^ get(); };
protected Type[] NewItemTypes { get; }
member this.NewItemTypes : Type[]
Protected ReadOnly Property NewItemTypes As Type()

屬性值

Type[]

可建立的項目型別。

備註

這個屬性表示可以加入至集合的數據類型。 根據預設,這會傳回單一類型的 CollectionItemType。 如果傳回多個類型,集合編輯器 UI 會提供一種方式來選擇要建立的項目類型。

適用於