Partager via


IVsMonitorUserContext.AdviseContextItemEvents Method

Method information is not provided. Do not use this method.

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

Syntax

'Déclaration
Function AdviseContextItemEvents ( _
    pEvents As IVsUserContextItemEvents, _
    <OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
'Utilisation
Dim instance As IVsMonitorUserContext
Dim pEvents As IVsUserContextItemEvents
Dim pdwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.AdviseContextItemEvents(pEvents, _
    pdwCookie)
int AdviseContextItemEvents(
    IVsUserContextItemEvents pEvents,
    out uint pdwCookie
)
int AdviseContextItemEvents(
    [InAttribute] IVsUserContextItemEvents^ pEvents, 
    [OutAttribute] unsigned int% pdwCookie
)
abstract AdviseContextItemEvents : 
        pEvents:IVsUserContextItemEvents * 
        pdwCookie:uint32 byref -> int 
function AdviseContextItemEvents(
    pEvents : IVsUserContextItemEvents, 
    pdwCookie : uint
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsMonitorUserContext Interface

IVsMonitorUserContext Members

Microsoft.VisualStudio.Shell.Interop Namespace