IVsRunningDocumentTable4.GetDocumentReadLockCount(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This is functionally identical to calling IVsRunningDocumentTable.GetDocumentInfo and requesting only the read lock count, 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::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
Parameters
- cookie
- UInt32
The cookie.
Returns
The number of outstanding read locks for the document.