IViewObject.SetAdvise Method

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 _
)
'使用
Dim instance As IViewObject
Dim aspects As UInteger
Dim ADVF As UInteger
Dim pAdvSink As IAdviseSink

instance.SetAdvise(aspects, ADVF, pAdvSink)
void SetAdvise(
    uint aspects,
    uint ADVF,
    IAdviseSink pAdvSink
)
void SetAdvise(
    [InAttribute] unsigned int aspects, 
    [InAttribute] unsigned int ADVF, 
    [InAttribute] IAdviseSink^ pAdvSink
)
function SetAdvise(
    aspects : uint, 
    ADVF : uint, 
    pAdvSink : IAdviseSink
)

Parameters

Remarks

For information on the COM interface, see IViewObject::SetAdvise

Permissions

See Also

Reference

IViewObject Interface

IViewObject Members

Microsoft.VisualStudio.OLE.Interop Namespace