共用方式為


RunningDocumentTable.UnlockDocument Method

Releases a read or edit lock on the open document.

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

Syntax

'宣告
Public Function UnlockDocument ( _
    lockType As _VSRDTFLAGS, _
    cookie As UInteger _
) As UnlockResult
public UnlockResult UnlockDocument(
    _VSRDTFLAGS lockType,
    uint cookie
)

Parameters

  • cookie
    Type: System.UInt32
    The identifier of the document data in the Running Document Table.

Return Value

Type: Microsoft.VisualStudio.Shell.UnlockResult

Remarks

This method calls UnlockDocument.

.NET Framework Security

See Also

Reference

RunningDocumentTable Class

Microsoft.VisualStudio.Shell Namespace