共用方式為


IOleObject.Advise Method

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
Sub Advise ( _
    pAdvSink As IAdviseSink, _
    <OutAttribute> ByRef pdwConnection As UInteger _
)
void Advise(
    IAdviseSink pAdvSink,
    out uint pdwConnection
)

Parameters

Remarks

For information on the COM interface, see IOleObject::Advise

.NET Framework Security

See Also

Reference

IOleObject Interface

Microsoft.VisualStudio.OLE.Interop Namespace