Share via


IVsRunningDocumentTable4.GetDocumentEditLockCount(UInt32) Method

Definition

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.

Applies to