RunningDocumentTable.CloseDocument(__FRAMECLOSE, UInt32) Method

Definition

Closes the document.

public:
 Microsoft::VisualStudio::Shell::CloseResult CloseDocument(Microsoft::VisualStudio::Shell::Interop::__FRAMECLOSE options, System::UInt32 docCookie);
public:
 Microsoft::VisualStudio::Shell::CloseResult CloseDocument(Microsoft::VisualStudio::Shell::Interop::__FRAMECLOSE options, unsigned int docCookie);
Microsoft::VisualStudio::Shell::CloseResult CloseDocument(Microsoft::VisualStudio::Shell::Interop::__FRAMECLOSE options, unsigned int docCookie);
public Microsoft.VisualStudio.Shell.CloseResult CloseDocument (Microsoft.VisualStudio.Shell.Interop.__FRAMECLOSE options, uint docCookie);
member this.CloseDocument : Microsoft.VisualStudio.Shell.Interop.__FRAMECLOSE * uint32 -> Microsoft.VisualStudio.Shell.CloseResult
Public Function CloseDocument (options As __FRAMECLOSE, docCookie As UInteger) As CloseResult

Parameters

options
__FRAMECLOSE

The close options.

docCookie
UInt32

The cookie for the document.

Returns

The close result.

Applies to