다음을 통해 공유


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 _
)
‘사용 방법
Dim instance As IOleObject
Dim pAdvSink As IAdviseSink
Dim pdwConnection As UInteger

instance.Advise(pAdvSink, pdwConnection)
void Advise(
    IAdviseSink pAdvSink,
    out uint pdwConnection
)
void Advise(
    [InAttribute] IAdviseSink^ pAdvSink, 
    [OutAttribute] unsigned int% pdwConnection
)
abstract Advise : 
        pAdvSink:IAdviseSink * 
        pdwConnection:uint32 byref -> unit 
function Advise(
    pAdvSink : IAdviseSink, 
    pdwConnection : uint
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

IOleObject Interface

IOleObject Members

Microsoft.VisualStudio.OLE.Interop Namespace