IVsRunningDocumentTable4.GetDocumentReadLockCount(UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
这在功能上等同于调用 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。
返回
文档的未处理读锁定数。