次の方法で共有


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

'宣言
Function AdviseContextItemEvents ( _
    pEvents As IVsUserContextItemEvents, _
    <OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
'使用
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
)
function AdviseContextItemEvents(
    pEvents : IVsUserContextItemEvents, 
    pdwCookie : uint
) : int

Parameters

Return Value

Type: System.Int32

Permissions

See Also

Reference

IVsMonitorUserContext Interface

IVsMonitorUserContext Members

Microsoft.VisualStudio.Shell.Interop Namespace