IVsRunningDocumentTable4.GetDocumentEditLockCount(UInt32) 方法

定义

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

public:
 System::UInt32 GetDocumentEditLockCount(System::UInt32 cookie);
public:
 unsigned int GetDocumentEditLockCount(unsigned int cookie);
unsigned int GetDocumentEditLockCount(unsigned int cookie);
public uint GetDocumentEditLockCount (uint cookie);
abstract member GetDocumentEditLockCount : uint32 -> uint32
Public Function GetDocumentEditLockCount (cookie As UInteger) As UInteger

参数

cookie
UInt32

文档 cookie。

返回

UInt32

文档未完成的编辑锁的数目。

适用于