VsTextImageClass.LockImage Method

Notifies that the text image is in use.

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

Syntax

'Déclaration
Public Overridable Function LockImage ( _
    grfLock As UInteger _
) As Integer
public virtual int LockImage(
    uint grfLock
)
public:
virtual int LockImage(
    [InAttribute] unsigned int grfLock
)
abstract LockImage : 
        grfLock:uint32 -> int 
override LockImage : 
        grfLock:uint32 -> int 
public function LockImage(
    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.

Implements

IVsTextImage.LockImage(UInt32)

.NET Framework Security

See Also

Reference

VsTextImageClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace