Share via


IWorkspaceCommandHandler.QueryStatus Method

Definition

Tailored helper for IOleCommandTarget.QueryStatus

public:
 bool QueryStatus(System::Collections::Generic::List<Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^> ^ selection, Guid pguidCmdGroup, System::UInt32 nCmdID, System::UInt32 % cmdf, System::String ^ % customTitle);
public bool QueryStatus (System.Collections.Generic.List<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase> selection, Guid pguidCmdGroup, uint nCmdID, ref uint cmdf, ref string customTitle);
public bool QueryStatus (System.Collections.Generic.List<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase> selection, Guid pguidCmdGroup, uint nCmdID, ref uint cmdf, ref string? customTitle);
abstract member QueryStatus : System.Collections.Generic.List<Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase> * Guid * uint32 * uint32 * string -> bool
Public Function QueryStatus (selection As List(Of WorkspaceVisualNodeBase), pguidCmdGroup As Guid, nCmdID As UInteger, ByRef cmdf As UInteger, ByRef customTitle As String) As Boolean

Parameters

selection
List<WorkspaceVisualNodeBase>

selected nodes

pguidCmdGroup
Guid

command guid

nCmdID
UInt32

command id

cmdf
UInt32

commands flags (such Visible/Latched etc)

customTitle
String

for dynamic title commands

Returns

true when command is handled

Applies to