Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to v2.
Gets or sets the command ID to invoke when the button is pressed.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Public Property CommandId As ICommandId
Get
Private Set
'Usage
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)
Property Value
Type: Microsoft.WebMatrix.Extensibility.ICommandId
The command ID to invoke when the button is pressed.