Task.CommandBindings 屬性
取得工作的 CommandBindingCollection。
命名空間: Microsoft.Windows.Design.Interaction
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public ReadOnly Property CommandBindings As CommandBindingCollection
Get
public CommandBindingCollection CommandBindings { get; }
public:
property CommandBindingCollection^ CommandBindings {
CommandBindingCollection^ get ();
}
member CommandBindings : CommandBindingCollection
function get CommandBindings () : CommandBindingCollection
屬性值
型別:System.Windows.Input.CommandBindingCollection
CommandBindingCollection 執行個體,包含這個工作的命令繫結。
備註
CommandBindingCollection 會將路由命令繫結至實作。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Interaction 命名空間