IHostCommands.GetCommand Method

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

Return Value

Type: System.Windows.Input.ICommand
An arbitrary command identified by group and ID.

See Also

Reference

IHostCommands Interface

Microsoft.WebMatrix.Extensibility Namespace