LinePosition(Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of a LinePosition with the given line and character.
public:
LinePosition(int line, int character);
public LinePosition (int line, int character);
new Microsoft.CodeAnalysis.Text.LinePosition : int * int -> Microsoft.CodeAnalysis.Text.LinePosition
Public Sub New (line As Integer, character As Integer)
Parameters
- line
- Int32
The line of the line position. The first line in a file is defined as line 0 (zero based line numbering).
- character
- Int32
The character position in the line.
Exceptions
line
or character
is less than zero.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.