RunningDocumentTable.LockDocument(_VSRDTFLAGS, UInt32) Method

Definition

Gets a read or edit lock on the specified document.

public:
 void LockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, unsigned int cookie);

Parameters

lockType
_VSRDTFLAGS

Lock values from the _VSRDTFLAGS enumeration.

cookie
UInt32

The identifier of the document to lock.

Remarks

This method calls LockDocument.

Applies to