TextPatternRange.RemoveFromSelection Method ()
Removes a highlighted section of text, corresponding to the calling text range Start and End endpoints, from an existing collection of highlighted text in a text container that supports multiple, disjoint selections.
Assembly: UIAutomationClient (in UIAutomationClient.dll)
The text insertion point will move to the area of the removed highlight.
Providing a degenerate text range will move the insertion point.
Available since 3.0