Partilhar via


Método IVsTextStream.UnlockBuffer

Desbloqueia um buffer bloqueado com o método LockBuffer.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'Declaração
Function UnlockBuffer As Integer
int UnlockBuffer()
int UnlockBuffer()
abstract UnlockBuffer : unit -> int
function UnlockBuffer() : int

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextStream::UnlockBuffer();

Chamar esse método após chamar o método LockBuffer.

Segurança do .NET Framework

Consulte também

Referência

IVsTextStream Interface

Namespace Microsoft.VisualStudio.TextManager.Interop