RunningDocumentTable.CloseDocument Method
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Function CloseDocument ( _
options As __FRAMECLOSE, _
docCookie As UInteger _
) As CloseResult
public CloseResult CloseDocument(
__FRAMECLOSE options,
uint docCookie
)
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.