Compartir a través de


IVsTextImage.UnlockImage Method

Notifies that the text image is not in use.

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

Syntax

'Declaración
Function UnlockImage ( _
    grfLock As UInteger _
) As Integer
'Uso
Dim instance As IVsTextImage
Dim grfLock As UInteger
Dim returnValue As Integer

returnValue = instance.UnlockImage(grfLock)
int UnlockImage(
    uint grfLock
)
int UnlockImage(
    [InAttribute] unsigned int grfLock
)
abstract UnlockImage : 
        grfLock:uint32 -> int 
function UnlockImage(
    grfLock : 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

The environment can request a lock on a text image with a call to LockImage.

COM Signature

From textmgr.idl:

HRESULT IVsTextImage::UnlockImage(
   [in] DWORD grfLock
);

.NET Framework Security

See Also

Reference

IVsTextImage Interface

IVsTextImage Members

Microsoft.VisualStudio.TextManager.Interop Namespace