다음을 통해 공유


ICommandProvider.QueryStatus Method

Returns the status of the context menu command by using the specified context menu, the specified command, and a list of items that were selected at the time the context menu was displayed.

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

Syntax

‘선언
Function QueryStatus ( _
    contextMenuId As CommandID, _
    commandId As CommandID, _
    items As IList _
) As CommandStatus
CommandStatus QueryStatus(
    CommandID contextMenuId,
    CommandID commandId,
    IList items
)
CommandStatus^ QueryStatus(
    CommandID^ contextMenuId, 
    CommandID^ commandId, 
    IList^ items
)
abstract QueryStatus : 
        contextMenuId:CommandID * 
        commandId:CommandID * 
        items:IList -> CommandStatus 
function QueryStatus(
    contextMenuId : CommandID, 
    commandId : CommandID, 
    items : IList
) : CommandStatus

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.Vsip.CommandStatus
A command status object.

.NET Framework Security

See Also

Reference

ICommandProvider Interface

Microsoft.VisualStudio.TestTools.Vsip Namespace

CommandID

CommandStatus