RunningDocumentTable::UnlockDocument Method (_VSRDTFLAGS, UInt32)

 

Releases a read or edit lock on the open document.

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

public:
UnlockResult UnlockDocument(
	_VSRDTFLAGS lockType,
	unsigned int cookie
)

Parameters

lockType
Type: Microsoft.VisualStudio.Shell.Interop::_VSRDTFLAGS

Lock values from the _VSRDTFLAGS enumeration.

cookie
Type: System::UInt32

The identifier of the document data in the Running Document Table.

Return Value

Type: Microsoft.VisualStudio.Shell::UnlockResult

Returns the value of Unlocked.

This method calls UnlockDocument.

Return to top
Show: