Επεξεργασία

Κοινή χρήση μέσω


TreeViewDataItemAutomationPeer.ISelectionItemProvider.AddToSelection Method

Definition

Adds the current element to the collection of selected items.

 virtual void System.Windows.Automation.Provider.ISelectionItemProvider.AddToSelection() = System::Windows::Automation::Provider::ISelectionItemProvider::AddToSelection;
void ISelectionItemProvider.AddToSelection ();
abstract member System.Windows.Automation.Provider.ISelectionItemProvider.AddToSelection : unit -> unit
override this.System.Windows.Automation.Provider.ISelectionItemProvider.AddToSelection : unit -> unit
Sub AddToSelection () Implements ISelectionItemProvider.AddToSelection

Implements

Exceptions

UI Automation element is no longer available.

Remarks

This member is an explicit interface member implementation. It can be used only when the TreeViewDataItemAutomationPeer instance is cast to an ISelectionItemProvider interface.

Applies to