Partager via


IVsTextLines.UnlockBuffer, méthode

Déverrouille une mémoire tampon verrouillée avec la méthode LockBuffer.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Function UnlockBuffer As Integer
int UnlockBuffer()
int UnlockBuffer()
abstract UnlockBuffer : unit -> int
function UnlockBuffer() : int

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

HRESULT IVsTextLines::UnlockBuffer();

Appelez cette méthode après avoir appelé la méthode LockBuffer.

Sécurité .NET Framework

Voir aussi

Référence

IVsTextLines Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms