IVsRunningDocumentTable4.GetDocumentMoniker(UInt32) 方法

定义

这在功能上等同于调用 IVsRunningDocumentTable GetDocumentInfo 并只请求名字对象,但使用托管代码更容易。 在托管代码中,无需请求其他所有信息也无需请求标记,请求所有其他信息可能会导致 RDT_PendingInitialization 文档的可能不必要的初始化。

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

参数

cookie
UInt32

文档 cookie。

返回

String

名字。

适用于