Share via


DocData.Close Method

Closes the document.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Public Function Close As Integer
'Usage
Dim instance As DocData 
Dim returnValue As Integer 

returnValue = instance.Close()
public int Close()
public:
virtual int Close() sealed
public final function Close() : int

Return Value

Type: System.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

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace