Completor.AtEndOfLine Property
Determines if the internal caret position is at the end of the current line.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Dichiarazione
Public ReadOnly Property AtEndOfLine As Boolean
Get
'Utilizzo
Dim instance As Completor
Dim value As Boolean
value = instance.AtEndOfLine
public bool AtEndOfLine { get; }
public:
property bool AtEndOfLine {
bool get ();
}
member AtEndOfLine : bool
function get AtEndOfLine () : boolean
Property Value
Type: System.Boolean
If the internal caret position is at the end of the line, returns true; otherwise, returns false.
Remarks
The internal caret position in this case is the character offset relative to the starting caret position, taking into account the text that has already been inserted. The text view's caret position is not updated until all changes represented by this Completor object are applied to the text view.
This method treats newlines as just another character: the end of the line is the end of all text on the line, including newlines.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.