共用方式為


TextDocument.EndPoint Property

Definition

Gets a TextPoint object that is the location of the end of the document.

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

Property Value

A TextPoint 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 the currently open solution.

Applies to