IVsRunningDocumentTable4.GetDocumentMoniker(UInt32) Method

Definition

This is functionally identical to calling IVsRunningDocumentTable.GetDocumentInfo and requesting only the moniker, but it is easier to consume from managed code. In managed code it is impossible to request the flags without also requesting all of the other information, and requesting all of the other information can result in the potentially unnecessary initialization of an RDT_PendingInitialization document.

public:
 System::String ^ GetDocumentMoniker(System::UInt32 cookie);
public:
 Platform::String ^ GetDocumentMoniker(unsigned int cookie);
std::wstring GetDocumentMoniker(unsigned int cookie);
public string GetDocumentMoniker (uint cookie);
abstract member GetDocumentMoniker : uint32 -> string
Public Function GetDocumentMoniker (cookie As UInteger) As String

Parameters

cookie
UInt32

The document cookie.

Returns

The moniker.

Applies to