共用方式為


IAdviseSink Interface

Enables containers and other objects to receive notice of changes. Standard OLE interface. For more information, see IAdviseSink.

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("0000010F-0000-0000-C000-000000000046")> _
Public Interface IAdviseSink
[InterfaceTypeAttribute()]
[GuidAttribute("0000010F-0000-0000-C000-000000000046")]
public interface IAdviseSink

The IAdviseSink type exposes the following members.

Methods

  Name Description
Public method OnClose
Public method OnDataChange
Public method OnRename
Public method OnSave
Public method OnViewChange

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace