RunningDocumentTable.GetDocumentInfo Method
Gets information about a document registered in the Running Document Table, given the identifier of the document.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Déclaration
<CLSCompliantAttribute(False)> _
Public Function GetDocumentInfo ( _
docCookie As UInteger _
) As RunningDocumentInfo
'Utilisation
Dim instance As RunningDocumentTable
Dim docCookie As UInteger
Dim returnValue As RunningDocumentInfo
returnValue = instance.GetDocumentInfo(docCookie)
[CLSCompliantAttribute(false)]
public RunningDocumentInfo GetDocumentInfo(
uint docCookie
)
[CLSCompliantAttribute(false)]
public:
RunningDocumentInfo GetDocumentInfo(
unsigned int docCookie
)
[<CLSCompliantAttribute(false)>]
member GetDocumentInfo :
docCookie:uint32 -> RunningDocumentInfo
public function GetDocumentInfo(
docCookie : uint
) : RunningDocumentInfo
Parameters
- docCookie
Type: System.UInt32
The identifier of the document data object in the Running Document Table.
Return Value
Type: Microsoft.VisualStudio.Shell.RunningDocumentInfo
The RunningDocumentInfo for the specified document.
.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.