Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'宣言
Function GetTypeSpecificCommands ( _
contextMenuId As CommandID _
) As CommandID()
'使用
Dim instance As ICommandProvider
Dim contextMenuId As CommandID
Dim returnValue As CommandID()
returnValue = instance.GetTypeSpecificCommands(contextMenuId)
CommandID[] GetTypeSpecificCommands(
CommandID contextMenuId
)
array<CommandID^>^ GetTypeSpecificCommands(
CommandID^ contextMenuId
)
function GetTypeSpecificCommands(
contextMenuId : CommandID
) : CommandID[]
Parameters
- contextMenuId
Type: System.ComponentModel.Design.CommandID
Return Value
Type: []
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.