FlavoredProject.IVsUIHierarchy.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

‘선언
Private Function QueryClose ( _
    <OutAttribute> ByRef pfCanClose As Integer _
) As Integer Implements IVsUIHierarchy.QueryClose
‘사용 방법
Dim instance As FlavoredProject
Dim pfCanClose As Integer
Dim returnValue As Integer

returnValue = CType(instance, IVsUIHierarchy).QueryClose(pfCanClose)
int IVsUIHierarchy.QueryClose(
    out int pfCanClose
)
private:
virtual int QueryClose(
    [OutAttribute] int% pfCanClose
) sealed = IVsUIHierarchy::QueryClose
private abstract QueryClose : 
        pfCanClose:int byref -> int 
private override QueryClose : 
        pfCanClose:int byref -> int 
JScript does not support explicit interface implementations.

Parameters

  • pfCanClose
    Type: System.Int32%
    [out] Returns true if the hierarchy can be closed, otherwise false.

Return Value

Type: System.Int32
true if the hierarchy can be closed, otherwise false.

Implements

IVsUIHierarchy.QueryClose(Int32%)

Remarks

This method calls the QueryClose method, which in turn calls the QueryClose method, which calls the QueryClose method on the inner project.

.NET Framework Security

See Also

Reference

FlavoredProject Class

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace