Class PositionInfo
Represents Position Information from Parsers.
Inheritance
System.Object
PositionInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing
Assembly: dotNetRdf.dll
Syntax
public class PositionInfo
Constructors
| Improve this Doc View SourcePositionInfo(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(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)
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(IXmlLineInfo)
Creates a new set of Position Information form some XML Line Information.
Declaration
public PositionInfo(IXmlLineInfo info)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.IXmlLineInfo | info | XML Line Information. |
Properties
| Improve this Doc 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 |