IConnectionPoint.Advise Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣告
Sub Advise ( _
pUnkSink As Object, _
<OutAttribute> ByRef pdwCookie As UInteger _
)
'用途
Dim instance As IConnectionPoint
Dim pUnkSink As Object
Dim pdwCookie As UInteger
instance.Advise(pUnkSink, pdwCookie)
void Advise(
Object pUnkSink,
out uint pdwCookie
)
void Advise(
[InAttribute] Object^ pUnkSink,
[OutAttribute] unsigned int% pdwCookie
)
abstract Advise :
pUnkSink:Object *
pdwCookie:uint32 byref -> unit
function Advise(
pUnkSink : Object,
pdwCookie : uint
)
Parameters
- pUnkSink
Type: System.Object
- pdwCookie
Type: System.UInt32%
.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.