Share via


RefactoringProjectNodeCommand.QueryStatus Method

Returns the current status of the specified named command, whether it is enabled, disabled, hidden, and so on.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Refactoring
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public MustOverride Function QueryStatus ( _
    currentProject As IVsUIHierarchy _
) As QueryStatusResult
'Usage
Dim instance As RefactoringProjectNodeCommand
Dim currentProject As IVsUIHierarchy
Dim returnValue As QueryStatusResult

returnValue = instance.QueryStatus(currentProject)
public abstract QueryStatusResult QueryStatus(
    IVsUIHierarchy currentProject
)
public:
virtual QueryStatusResult QueryStatus(
    IVsUIHierarchy^ currentProject
) abstract
public abstract function QueryStatus(
    currentProject : IVsUIHierarchy
) : QueryStatusResult
abstract QueryStatus : 
        currentProject:IVsUIHierarchy -> QueryStatusResult 

Parameters

Return Value

Type: Microsoft.VisualStudio.Data.Schema.Project.Refactoring.QueryStatusResult
QueryStatusResult enumeration value.

.NET Framework Security

See Also

Reference

RefactoringProjectNodeCommand Class

RefactoringProjectNodeCommand Members

Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace