IVsTextBuffer.UnlockBufferEx Method

Extension of the UnlockBuffer method.

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

Syntax

'Declaration
Function UnlockBufferEx ( _
    dwFlags As UInteger _
) As Integer
'Usage
Dim instance As IVsTextBuffer 
Dim dwFlags As UInteger 
Dim returnValue As Integer 

returnValue = instance.UnlockBufferEx(dwFlags)
int UnlockBufferEx(
    uint dwFlags
)
int UnlockBufferEx(
    [InAttribute] unsigned int dwFlags
)
function UnlockBufferEx(
    dwFlags : uint
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextBuffer::UnlockBufferEx(
   [in] DWORD dwFlags
);

Call this method after calling the method LockBufferEx.

.NET Framework Security

See Also

Reference

IVsTextBuffer Interface

IVsTextBuffer Members

Microsoft.VisualStudio.TextManager.Interop Namespace