다음을 통해 공유


IVsRunningDocumentTable.UnregisterDocumentLockHolder Method

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)

Syntax

‘선언
Function UnregisterDocumentLockHolder ( _
    dwLHCookie As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsRunningDocumentTable
Dim dwLHCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnregisterDocumentLockHolder(dwLHCookie)
int UnregisterDocumentLockHolder(
    uint dwLHCookie
)
int UnregisterDocumentLockHolder(
    unsigned int dwLHCookie
)
abstract UnregisterDocumentLockHolder : 
        dwLHCookie:uint32 -> int 
function UnregisterDocumentLockHolder(
    dwLHCookie : uint
) : int

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.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsRunningDocumentTable::UnregisterDocumentLockHolder(
   VSCOOKIE dwLHCookie
);

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

.NET Framework Security

See Also

Reference

IVsRunningDocumentTable Interface

IVsRunningDocumentTable Members

Microsoft.VisualStudio.Shell.Interop Namespace