FlavoredProject.QueryClose Method
Determines whether the hierarchy can be closed.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣言
Protected Overridable Function QueryClose As Boolean
'使用
Dim returnValue As Boolean
returnValue = Me.QueryClose()
protected virtual bool QueryClose()
protected:
virtual bool QueryClose()
abstract QueryClose : unit -> bool
override QueryClose : unit -> bool
protected function QueryClose() : boolean
Return Value
Type: System.Boolean
true if the hierarchy can be closed, otherwise false.
Remarks
This method calls QueryClose on the inner project.
.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.