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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.