RunningDocumentTable.UnlockDocument(_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.
Releases a read or edit lock on the open document.
public:
Microsoft::VisualStudio::Shell::UnlockResult UnlockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, System::UInt32 cookie);
public:
Microsoft::VisualStudio::Shell::UnlockResult UnlockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, unsigned int cookie);
Microsoft::VisualStudio::Shell::UnlockResult UnlockDocument(Microsoft::VisualStudio::Shell::Interop::_VSRDTFLAGS lockType, unsigned int cookie);
public Microsoft.VisualStudio.Shell.UnlockResult UnlockDocument (Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS lockType, uint cookie);
member this.UnlockDocument : Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS * uint32 -> Microsoft.VisualStudio.Shell.UnlockResult
Public Function UnlockDocument (lockType As _VSRDTFLAGS, cookie As UInteger) As UnlockResult
Parameters
- lockType
- _VSRDTFLAGS
Lock values from the _VSRDTFLAGS enumeration.
- cookie
- UInt32
The identifier of the document data in the Running Document Table.
Returns
Returns the value of Unlocked.
Remarks
This method calls UnlockDocument.