取得 Type 物件清單,而這個屬性會將這些物件宣告為有效的新項目型別。
命名空間: Microsoft.Windows.Design.PropertyEditing
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public ReadOnly Property Types As IEnumerable(Of Type)
Get
public IEnumerable<Type> Types { get; }
public:
property IEnumerable<Type^>^ Types {
IEnumerable<Type^>^ get ();
}
member Types : IEnumerable<Type>
function get Types () : IEnumerable<Type>
屬性值
型別:System.Collections.Generic.IEnumerable<Type>
這個屬性保證成為有效之新項目型別的型別列舉。
備註
這個屬性傳回的物件保證不是 nullNull 參照 (即 Visual Basic 中的 Nothing)。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.PropertyEditing 命名空間