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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET