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
pEvents
Type: Microsoft.VisualStudio.Shell.Interop.IVsUserContextItemEventsDo not use.
pdwCookie
Type: System.UInt32%Do not use.
Return Value
Type: System.Int32
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.