ICommandProvider.GetTypeSpecificCommands Method
Returns a list of command IDs for the type-specific commands that support the associated custom test type that are in the specified context menu.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
‘선언
Function GetTypeSpecificCommands ( _
contextMenuId As CommandID _
) As CommandID()
CommandID[] GetTypeSpecificCommands(
CommandID contextMenuId
)
array<CommandID^>^ GetTypeSpecificCommands(
CommandID^ contextMenuId
)
abstract GetTypeSpecificCommands :
contextMenuId:CommandID -> CommandID[]
function GetTypeSpecificCommands(
contextMenuId : CommandID
) : CommandID[]
Parameters
- contextMenuId
Type: System.ComponentModel.Design.CommandID
The CommandID for a context menu.
Return Value
Type: array<System.ComponentModel.Design.CommandID[]
A list of command IDs.
.NET Framework Security
- 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.