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
)
abstract AdviseContextItemEvents :
pEvents:IVsUserContextItemEvents *
pdwCookie:uint32 byref -> int
function AdviseContextItemEvents(
pEvents : IVsUserContextItemEvents,
pdwCookie : uint
) : int
Parameters
- pEvents
Type: Microsoft.VisualStudio.Shell.Interop.IVsUserContextItemEvents
Do not use.
- pdwCookie
Type: System.UInt32%
Do not use.
Return Value
Type: System.Int32
.NET Framework Security
- 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.