取得或設定這個工具應建立之物件的型別。
命名空間: Microsoft.Windows.Design.Interaction
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Property CreationType As Type
Get
Set
public Type CreationType { get; set; }
public:
property Type^ CreationType {
Type^ get ();
void set (Type^ value);
}
member CreationType : Type with get, set
function get CreationType () : Type
function set CreationType (value : Type)
屬性值
型別:System.Type
Type 物件,表示這個工具應該建立之物件的型別。例如,如果這個工具要建立按鈕,則這個屬性應為 typeof(Button)。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Interaction 命名空間