Compartilhar via


Events2.SelectionEvents Property

Gets the SelectionEvents for the selection.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

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

Property Value

Type: EnvDTE.SelectionEvents
A SelectionEvents object.

Remarks

Whenever something is selected in the development environment, the environment creates a model of the selection. The events provided by the Events object in this case let Add-ins know when the SelectedItems collection is updated.

.NET Framework Security

See Also

Reference

Events2 Interface

EnvDTE80 Namespace