ISelectionItemProvider.RemoveFromSelection Method

TreeViewDataItemAutomationPeer.ISelectionItemProvider.RemoveFromSelection Method ()

.NET Framework (current version)
 

This API supports the product infrastructure and is not intended to be used directly from your code.

Removes the current element from the collection of selected items.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

void ISelectionItemProvider.RemoveFromSelection()

Exception Condition
ElementNotAvailableException

UI Automation element is no longer available.

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

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft