ICommandProvider.GetCommandHandler Method

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

Syntax

'宣言
Function GetCommandHandler ( _
    contextMenuId As CommandID, _
    commandId As CommandID _
) As CommandEventHandler
'使用
Dim instance As ICommandProvider
Dim contextMenuId As CommandID
Dim commandId As CommandID
Dim returnValue As CommandEventHandler

returnValue = instance.GetCommandHandler(contextMenuId, _
    commandId)
CommandEventHandler GetCommandHandler(
    CommandID contextMenuId,
    CommandID commandId
)
CommandEventHandler^ GetCommandHandler(
    CommandID^ contextMenuId, 
    CommandID^ commandId
)
function GetCommandHandler(
    contextMenuId : CommandID, 
    commandId : CommandID
) : CommandEventHandler

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.Vsip.CommandEventHandler

Permissions

See Also

Reference

ICommandProvider Interface

ICommandProvider Members

Microsoft.VisualStudio.TestTools.Vsip Namespace