TextPatternRange.AddToSelection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds to the collection of highlighted text in a text container that supports multiple, disjoint selections.
public:
void AddToSelection();
public void AddToSelection ();
member this.AddToSelection : unit -> unit
Public Sub AddToSelection ()
Exceptions
If text provider does not support multiple, disjoint selections (for example, SupportedTextSelection must have a value of Multiple
).
Remarks
The text insertion point moves to the area of the new selection.
Providing a degenerate text range moves the insertion point.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.