RunningDocumentTable::LockDocument Method (_VSRDTFLAGS, UInt32)
Visual Studio 2015
Gets a read or edit lock on the specified document.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- lockType
-
Type:
Microsoft.VisualStudio.Shell.Interop::_VSRDTFLAGS
Lock values from the _VSRDTFLAGS enumeration.
- cookie
-
Type:
System::UInt32
The identifier of the document to lock.
This method calls LockDocument.
Show: