Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void GetLineAndColumn(int, out int, out int)

Declaration

public void GetLineAndColumn(
    int offset,
    out int line,
    out int column
)

Summary

Gets the numbers of the line and column containing the character at the specified offset.

Parameters

intoffsetOffset of the character in question.
out intlineThe number of the line containing the specified character (first line is number 1).
out intcolumnThe number of the column containing the specified character (first column is number 1).