RunningDocumentTable.UnlockDocument(_VSRDTFLAGS, UInt32) Methode

Definition

Gibt eine Lese- oder eine Bearbeitungssperre im geöffneten Dokument frei.

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

Parameter

lockType
_VSRDTFLAGS

Werte aus der _VSRDTFLAGS-Enumeration sperren.

cookie
UInt32

Der Bezeichner der Dokumentendaten in der RDT (Running Document Table).

Gibt zurück

UnlockResult

Gibt den Wert von zurück Unlocked .

Hinweise

Diese Methode ruft UnlockDocument auf.

Gilt für