次の方法で共有


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

Return Value

Type: array<System.ComponentModel.Design.CommandID[]
A list of command IDs.

.NET Framework Security

See Also

Reference

ICommandProvider Interface

Microsoft.VisualStudio.TestTools.Vsip Namespace

CommandID