次の方法で共有


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

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