IVsRunningDocumentTable4.GetDocumentReadLockCount(UInt32) 方法

定义

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

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

参数

cookie
UInt32

Cookie。

返回

UInt32

文档的未处理读锁定数。

适用于