Gets information about a document registered in the Running Document Table, given the identifier of the document.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Function GetDocumentInfo ( _
docCookie As UInteger _
) As RunningDocumentInfo
'使用
Dim instance As RunningDocumentTable
Dim docCookie As UInteger
Dim returnValue As RunningDocumentInfo
returnValue = instance.GetDocumentInfo(docCookie)
public RunningDocumentInfo GetDocumentInfo(
uint docCookie
)
public:
RunningDocumentInfo GetDocumentInfo(
unsigned int docCookie
)
public function GetDocumentInfo(
docCookie : uint
) : RunningDocumentInfo
Parameters
docCookie
Type: System.UInt32The identifier of the document data object in the Running Document Table.
Return Value
Type: Microsoft.VisualStudio.Shell.RunningDocumentInfo
The RunningDocumentInfo for the specified document.
Permissions
- 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.