ModelingEditorFactory.Close Method
Releases all cached interface pointers and unregisters any event synchronizations.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
Public Function Close As Integer
public int Close()
public:
virtual int Close() sealed
abstract Close : unit -> int
override Close : unit -> int
public final function Close() : int
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
This class cannot be inherited.
.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.