Edit

Share via


TreeViewDataItemAutomationPeer.ISelectionItemProvider.RemoveFromSelection Method

Definition

Removes the current element from the collection of selected items.

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

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