共用方式為


ITextSelection.Select Method

Include Protected Members
Include Inherited Members

Selects text.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Select(SnapshotSpan, Boolean) Selects the text in the specified selection span.
Public method Select(VirtualSnapshotPoint, VirtualSnapshotPoint) Selects the text between the two VirtualSnapshotPoint objects.

Top

See Also

Reference

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor Namespace