DocData.Close Method
Closes the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
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: Int32
S_OK if the method succeeds; otherwise, it returns an error code.
Implements
IVsPersistDocData2.Close()
IVsPersistDocData.Close()
Remarks
This class implements the IVsPersistDocData2 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.