RunningDocumentTable::CloseDocument Method (__FRAMECLOSE, UInt32)

 

Closes the document.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
CloseResult CloseDocument(
	__FRAMECLOSE options,
	unsigned int docCookie
)

Parameters

options
Type: Microsoft.VisualStudio.Shell.Interop::__FRAMECLOSE

The close options.

docCookie
Type: System::UInt32

The cookie for the document.

Return Value

Type: Microsoft.VisualStudio.Shell::CloseResult

The close result.

Return to top
Show: