ICommandProvider.GetTypeSpecificCommands Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
'Declaration
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.CommandIDThe 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.