TextRange.EndPoint Property


Gets an EditPoint that is the location of the end of the range.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

EditPoint EndPoint { get; }

Property Value

Type: EnvDTE.EditPoint

A EditPoint object.

The edit point location is immediately after the last character of the code element (including any semicolon, terminating syntax, or separating syntax). Fetching the property implicitly opens the source file if it can be opened. Some languages, however, cannot open arbitrary files on the disk and can only open files in currently open solutions.

Return to top