DocumentManager.CloseWindowFrame Method

Closes the window frame.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Sub CloseWindowFrame ( _
    ByRef windowFrame As IVsWindowFrame _
)
'使用
Dim windowFrame As IVsWindowFrame

Me.CloseWindowFrame(windowFrame)
protected void CloseWindowFrame(
    ref IVsWindowFrame windowFrame
)
protected:
void CloseWindowFrame(
    IVsWindowFrame^% windowFrame
)
protected function CloseWindowFrame(
    windowFrame : IVsWindowFrame
)

Parameters

Remarks

If the IVsWindowFrame is null, this method silently returns. Otherwise it calls [M:Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.CloseFrame(uint grfSaveOptions)] with the RDTSAVEOPT_SaveIfDirty (0) option.

Permissions

See Also

Reference

DocumentManager Class

DocumentManager Members

Microsoft.VisualStudio.Package Namespace