Partager via


VsTextImageClass.AdviseTextImageEvents Method

Registers the environment to receive notification of text image changes.

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

Syntax

'Déclaration
Public Overridable Function AdviseTextImageEvents ( _
    pSink As IVsTextImageEvents, _
    <OutAttribute> ByRef pCookie As UInteger _
) As Integer
public virtual int AdviseTextImageEvents(
    IVsTextImageEvents pSink,
    out uint pCookie
)
public:
virtual int AdviseTextImageEvents(
    [InAttribute] IVsTextImageEvents^ pSink, 
    [OutAttribute] unsigned int% pCookie
)
abstract AdviseTextImageEvents : 
        pSink:IVsTextImageEvents * 
        pCookie:uint32 byref -> int 
override AdviseTextImageEvents : 
        pSink:IVsTextImageEvents * 
        pCookie:uint32 byref -> int 
public function AdviseTextImageEvents(
    pSink : IVsTextImageEvents, 
    pCookie : 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.AdviseTextImageEvents(IVsTextImageEvents, UInt32%)

.NET Framework Security

See Also

Reference

VsTextImageClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace