共用方式為


Events.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.

Attributes

Remarks

Whenever something is selected in the integrated development environment (IDE), the environment creates a model of the selection. The events provided by the Events object lets extensions know when the SelectedItems collection is updated.

Applies to