共用方式為


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

This method is safe to access from any thread.

Applies to