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
)
function Advise(
pUnkSink : Object,
pdwCookie : uint
)
Parameters
- pUnkSink
Type: System.Object
- pdwCookie
Type: System.UInt32%
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.