IVsRunningDocumentTable4.GetDocumentEditLockCount(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 edit 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 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
Parameters
- cookie
- UInt32
The document cookie.
Returns
The number of outstanding edit locks for the document.