ICommandProvider::QueryStatus Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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)
CommandStatus^ QueryStatus( CommandID^ contextMenuId, CommandID^ commandId, IList^ items )
Parameters
- contextMenuId
- Type: System.ComponentModel.Design::CommandID
The CommandID for a context menu.
- commandId
- Type: System.ComponentModel.Design::CommandID
The CommandID for a command.
- items
- Type: System.Collections::IList
A list of items that were selected at the time the context menu was displayed.
- 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.
Community Additions
Show: