共用方式為


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

.NET Framework Security

See Also

Reference

IConnectionPoint Interface

IConnectionPoint Members

Microsoft.VisualStudio.OLE.Interop Namespace