EditorFactory.IVsEditorFactory.Close Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Closes the editor and releases all resources.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'宣言
Private Function Close As Integer Implements IVsEditorFactory.Close
int IVsEditorFactory.Close()
private:
virtual int Close() sealed = IVsEditorFactory::Close
private abstract Close : unit -> int
private override Close : unit -> int
JScript does not support explicit interface implementations.
Return Value
Type: System.Int32
S_OK
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the EditorFactory instance is cast to an [Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory] interface.
.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.