Events2.SelectionEvents 属性

获取选定内容的 SelectionEvents

命名空间:  EnvDTE80
程序集:  EnvDTE80(在 EnvDTE80.dll 中)

语法

声明
ReadOnly Property SelectionEvents As SelectionEvents
SelectionEvents SelectionEvents { get; }
property SelectionEvents^ SelectionEvents {
    SelectionEvents^ get ();
}
abstract SelectionEvents : SelectionEvents with get
function get SelectionEvents () : SelectionEvents

属性值

类型:SelectionEvents
一个 SelectionEvents 对象。

备注

每当在开发环境中选定某内容时,环境都为选定的内容创建一个模型。 在这种情况下,Events 对象提供的事件可以让外接程序知道何时更新了 SelectedItems 集合。

.NET Framework 安全性

请参阅

参考

Events2 接口

EnvDTE80 命名空间