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
windowFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame%The window frame to close.
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
- 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.