Delen via


IViewObject2.SetAdvise Method

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

Syntax

'Declaration
Sub SetAdvise ( _
    aspects As UInteger, _
    ADVF As UInteger, _
    pAdvSink As IAdviseSink _
)
void SetAdvise(
    uint aspects,
    uint ADVF,
    IAdviseSink pAdvSink
)
void SetAdvise(
    [InAttribute] unsigned int aspects, 
    [InAttribute] unsigned int ADVF, 
    [InAttribute] IAdviseSink^ pAdvSink
)
abstract SetAdvise : 
        aspects:uint32 * 
        ADVF:uint32 * 
        pAdvSink:IAdviseSink -> unit
function SetAdvise(
    aspects : uint, 
    ADVF : uint, 
    pAdvSink : IAdviseSink
)

Parameters

  • aspects
    Type: UInt32
  • ADVF
    Type: UInt32

.NET Framework Security

See Also

Reference

IViewObject2 Interface

Microsoft.VisualStudio.OLE.Interop Namespace