共用方式為


Events2.SelectionEvents Property

Definition

Gets the SelectionEvents for the selection.

public:
 property EnvDTE::SelectionEvents ^ SelectionEvents { EnvDTE::SelectionEvents ^ get(); };
public:
 property EnvDTE::SelectionEvents ^ SelectionEvents { EnvDTE::SelectionEvents ^ get(); };
[System.Runtime.InteropServices.DispId(301)]
public EnvDTE.SelectionEvents SelectionEvents { [System.Runtime.InteropServices.DispId(301)] get; }
[<System.Runtime.InteropServices.DispId(301)>]
[<get: System.Runtime.InteropServices.DispId(301)>]
member this.SelectionEvents : EnvDTE.SelectionEvents
Public ReadOnly Property SelectionEvents As SelectionEvents

Property Value

A SelectionEvents object.

Implements

Attributes

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 notify when the SelectedItems collection is updated.

Applies to