次の方法で共有


IAdviseSink2 Interface

Extends and inherits from IAdviseSink. Supports an additional notification. Standard OLE interface. For more information, see IAdviseSink2.

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

Syntax

'宣言
<GuidAttribute("00000125-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface IAdviseSink2 _
    Inherits IAdviseSink
[GuidAttribute("00000125-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface IAdviseSink2 : IAdviseSink

The IAdviseSink2 type exposes the following members.

Methods

  Name Description
Public method OnClose() (Inherited from IAdviseSink.)
Public method OnClose()
Public method OnDataChange(array<FORMATETC[], array<STGMEDIUM[]) (Inherited from IAdviseSink.)
Public method OnDataChange(array<FORMATETC[], array<STGMEDIUM[])
Public method OnLinkSrcChange
Public method OnRename(IMoniker) (Inherited from IAdviseSink.)
Public method OnRename(IMoniker)
Public method OnSave() (Inherited from IAdviseSink.)
Public method OnSave()
Public method OnViewChange(UInt32, Int32) (Inherited from IAdviseSink.)
Public method OnViewChange(UInt32, Int32)

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace