RunningDocumentTable.GetDocumentInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDocumentInfo(UInt32) |
Gets information about a document registered in the Running Document Table, given the identifier of the document. |
GetDocumentInfo(String) |
Gets information about a document registered in the Running Document Table, given the identifier of the document. |
GetDocumentInfo(UInt32)
Gets information about a document registered in the Running Document Table, given the identifier of the document.
public:
Microsoft::VisualStudio::Shell::RunningDocumentInfo GetDocumentInfo(System::UInt32 docCookie);
Microsoft::VisualStudio::Shell::RunningDocumentInfo GetDocumentInfo(unsigned int docCookie);
public Microsoft.VisualStudio.Shell.RunningDocumentInfo GetDocumentInfo (uint docCookie);
member this.GetDocumentInfo : uint32 -> Microsoft.VisualStudio.Shell.RunningDocumentInfo
Public Function GetDocumentInfo (docCookie As UInteger) As RunningDocumentInfo
Parameters
- docCookie
- UInt32
The identifier of the document data object in the Running Document Table.
Returns
The RunningDocumentInfo for the specified document.
Applies to
GetDocumentInfo(String)
Gets information about a document registered in the Running Document Table, given the identifier of the document.
public:
Microsoft::VisualStudio::Shell::RunningDocumentInfo GetDocumentInfo(System::String ^ moniker);
Microsoft::VisualStudio::Shell::RunningDocumentInfo GetDocumentInfo(std::wstring const & moniker);
public Microsoft.VisualStudio.Shell.RunningDocumentInfo GetDocumentInfo (string moniker);
member this.GetDocumentInfo : string -> Microsoft.VisualStudio.Shell.RunningDocumentInfo
Public Function GetDocumentInfo (moniker As String) As RunningDocumentInfo
Parameters
- moniker
- String
The document moniker.
Returns
The document info.