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
- currentProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy
The name of the current project on which the command is being executed
Return Value
Type: Microsoft.VisualStudio.Data.Schema.Project.Refactoring.QueryStatusResult
QueryStatusResult enumeration value.
.NET Framework Security
- 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.
See Also
Reference
RefactoringProjectNodeCommand Class
RefactoringProjectNodeCommand Members
Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace