IVsRunningDocumentTable::UnregisterDocumentLockHolder Method (UInt32)

 

Unregisters a document lock holder in the running document table.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int UnregisterDocumentLockHolder(
	unsigned int dwLHCookie
)

Parameters

dwLHCookie
Type: System::UInt32

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

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsRunningDocumentTable::UnregisterDocumentLockHolder(
   VSCOOKIE dwLHCookie
);

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

Return to top
Show: