Partilhar via


TextRange.EndPoint Property

Definition

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

public:
 property EnvDTE::EditPoint ^ EndPoint { EnvDTE::EditPoint ^ get(); };
public:
 property EnvDTE::EditPoint ^ EndPoint { EnvDTE::EditPoint ^ get(); };
[System.Runtime.InteropServices.DispId(4)]
public EnvDTE.EditPoint EndPoint { [System.Runtime.InteropServices.DispId(4)] get; }
[<System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.DispId(4)>]
member this.EndPoint : EnvDTE.EditPoint
Public ReadOnly Property EndPoint As EditPoint

Property Value

A EditPoint object.

Attributes

Remarks

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.

Applies to