GraphLinkCollection.LinksUpdated 事件

LinksUpdated 的事件实现。 此处我们不使用隐式的 C# 事件,因为当客户端侦听我们时,我们仅需要侦听 TransactedDictionaryChanges。 (出于性能原因)。

命名空间:  Microsoft.VisualStudio.GraphModel
程序集:  Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)

语法

声明
Public Event LinksUpdated As EventHandler(Of GraphLinksUpdatedEventArgs)
public event EventHandler<GraphLinksUpdatedEventArgs> LinksUpdated
public:
 event EventHandler<GraphLinksUpdatedEventArgs^>^ LinksUpdated {
    void add (EventHandler<GraphLinksUpdatedEventArgs^>^ value);
    void remove (EventHandler<GraphLinksUpdatedEventArgs^>^ value);
}
member LinksUpdated : IEvent<EventHandler<GraphLinksUpdatedEventArgs>,
    GraphLinksUpdatedEventArgs>
JScript 不支持事件。

.NET Framework 安全性

请参见

参考

GraphLinkCollection 类

Microsoft.VisualStudio.GraphModel 命名空间