IViewObject2.SetAdvise Method (UInt32, UInt32, IAdviseSink)
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub SetAdvise ( _
aspects As UInteger, _
ADVF As UInteger, _
pAdvSink As IAdviseSink _
)
void SetAdvise(
uint aspects,
uint ADVF,
IAdviseSink pAdvSink
)
Parameters
- aspects
Type: System.UInt32
- ADVF
Type: System.UInt32
- pAdvSink
Type: Microsoft.VisualStudio.OLE.Interop.IAdviseSink
.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.