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
- pAdvSink
Type: Microsoft.VisualStudio.OLE.Interop.IAdviseSink
- pdwConnection
Type: System.UInt32%
Remarks
For information on the COM interface, see IOleObject::Advise
.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.