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
function get SelectionEvents () : SelectionEvents
Property Value
Type: EnvDTE.SelectionEvents
A SelectionEvents object.
Implements
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.