RunningDocumentTable.LockDocument(_VSRDTFLAGS, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a read or edit lock on the specified document.
public:
void LockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, System::UInt32 cookie);
public:
void LockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, unsigned int cookie);
void LockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, unsigned int cookie);
public void LockDocument (Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS lockType, uint cookie);
member this.LockDocument : Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS * uint32 -> unit
Public Sub LockDocument (lockType As _VSRDTFLAGS, cookie As UInteger)
Parameters
- lockType
- _VSRDTFLAGS
Lock values from the _VSRDTFLAGS enumeration.
- cookie
- UInt32
The identifier of the document to lock.
Remarks
This method calls LockDocument.