Class PositionInfo
Represents Position Information from Parsers.
Inherited Members
Namespace: VDS.RDF.Parsing
Assembly: dotNetRdf.dll
Syntax
public class PositionInfo
Constructors
| Edit this page View SourcePositionInfo(int, int)
Creates a new set of Position Information.
Declaration
public PositionInfo(int line, int position)
Parameters
| Type | Name | Description |
|---|---|---|
| int | line | Line. |
| int | position | Column. |
PositionInfo(int, int, int)
Creates a new set of Position Information.
Declaration
public PositionInfo(int line, int startPosition, int endPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| int | line | Line. |
| int | startPosition | Start Column. |
| int | endPosition | End Column. |
PositionInfo(int, int, int, int)
Creates a new set of Position Information.
Declaration
public PositionInfo(int startLine, int endLine, int startPosition, int endPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| int | startLine | Start Line. |
| int | endLine | End Line. |
| int | startPosition | Start Column. |
| int | endPosition | End Column. |
PositionInfo(IXmlLineInfo)
Creates a new set of Position Information form some XML Line Information.
Declaration
public PositionInfo(IXmlLineInfo info)
Parameters
| Type | Name | Description |
|---|---|---|
| IXmlLineInfo | info | XML Line Information. |
Properties
| Edit this page View SourceEndLine
Gets the End Line.
Declaration
public int EndLine { get; }
Property Value
| Type | Description |
|---|---|
| int |
EndPosition
Gets the End Column.
Declaration
public int EndPosition { get; }
Property Value
| Type | Description |
|---|---|
| int |
StartLine
Gets the Start Line.
Declaration
public int StartLine { get; }
Property Value
| Type | Description |
|---|---|
| int |
StartPosition
Gets the Start Column.
Declaration
public int StartPosition { get; }
Property Value
| Type | Description |
|---|---|
| int |