Share via


RunningDocumentTable.CloseDocument Method

Closes the document.

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

Syntax

'Declaration
Public Function CloseDocument ( _
    options As __FRAMECLOSE, _
    docCookie As UInteger _
) As CloseResult
public CloseResult CloseDocument(
    __FRAMECLOSE options,
    uint docCookie
)
public:
CloseResult CloseDocument(
    __FRAMECLOSE options, 
    unsigned int docCookie
)
member CloseDocument : 
        options:__FRAMECLOSE * 
        docCookie:uint32 -> CloseResult
public function CloseDocument(
    options : __FRAMECLOSE, 
    docCookie : uint
) : CloseResult

Parameters

  • docCookie
    Type: UInt32

    The cookie for the document.

Return Value

Type: Microsoft.VisualStudio.Shell.CloseResult
The close result.

.NET Framework Security

See Also

Reference

RunningDocumentTable Class

Microsoft.VisualStudio.Shell Namespace