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 creates an arbitrary command identified by group and ID.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Function GetCommand ( _
group As Guid, _
id As Integer _
) As ICommand
'Usage
Dim instance As IHostCommands
Dim group As Guid
Dim id As Integer
Dim returnValue As ICommand
returnValue = instance.GetCommand(group, _
id)
ICommand GetCommand(
Guid group,
int id
)
ICommand^ GetCommand(
Guid group,
int id
)
abstract GetCommand :
group:Guid *
id:int -> ICommand
function GetCommand(
group : Guid,
id : int
) : ICommand
Parameters
group
Type: System.GuidThe command group.
id
Type: System.Int32The command identifier.
Return Value
Type: System.Windows.Input.ICommand
An arbitrary command identified by group and ID.