IVsRunningDocumentTable.UnregisterDocumentLockHolder(UInt32) Method

Definition

Unregisters a document lock holder in the running document table.

public:
 int UnregisterDocumentLockHolder(System::UInt32 dwLHCookie);
public:
 int UnregisterDocumentLockHolder(unsigned int dwLHCookie);
int UnregisterDocumentLockHolder(unsigned int dwLHCookie);
public int UnregisterDocumentLockHolder (uint dwLHCookie);
abstract member UnregisterDocumentLockHolder : uint32 -> int
Public Function UnregisterDocumentLockHolder (dwLHCookie As UInteger) As Integer

Parameters

dwLHCookie
UInt32

[in] Unique identifier for the document lock holder. See Remarks.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsRunningDocumentTable::UnregisterDocumentLockHolder(  
   VSCOOKIE dwLHCookie  
);  

The dwLHCookie parameter is the same value returned from the RegisterDocumentLockHolder method.

Applies to