RunningDocumentTable.CloseDocument Method
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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
- options
Type: Microsoft.VisualStudio.Shell.Interop.__FRAMECLOSE
- docCookie
Type: System.UInt32
Return Value
Type: Microsoft.VisualStudio.Shell.CloseResult
.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.