RibbonButton.CommandId 屬性
適用於版本2
取得或設定要在按下按鈕時叫用的命令識別碼。
命名空間: Microsoft.WebMatrix.Extensibility
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Public Property CommandId As ICommandId
Get
Private Set
'用途
Dim instance As RibbonButton
Dim value As ICommandId
value = instance.CommandId
public ICommandId CommandId { get; private set; }
public:
property ICommandId^ CommandId {
ICommandId^ get ();
private: void set (ICommandId^ value);
}
member CommandId : ICommandId with get, private set
function get CommandId () : ICommandId
private function set CommandId (value : ICommandId)
屬性值
型別:Microsoft.WebMatrix.Extensibility.ICommandId
要在按下按鈕時叫用的命令 ID。