Class PositionInfo
Represents Position Information from Parsers.
Inheritance
System.Object
PositionInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing
Assembly: dotNetRDF.dll
Syntax
public class PositionInfo
Constructors
| Improve this Doc View SourcePositionInfo(Int32, Int32)
Creates a new set of Position Information.
Declaration
public PositionInfo(int line, int position)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | line | Line. |
System.Int32 | position | Column. |
PositionInfo(Int32, Int32, Int32)
Creates a new set of Position Information.
Declaration
public PositionInfo(int line, int startPosition, int endPosition)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | line | Line. |
System.Int32 | startPosition | Start Column. |
System.Int32 | endPosition | End Column. |
PositionInfo(Int32, Int32, Int32, Int32)
Creates a new set of Position Information.
Declaration
public PositionInfo(int startLine, int endLine, int startPosition, int endPosition)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | startLine | Start Line. |
System.Int32 | endLine | End Line. |
System.Int32 | startPosition | Start Column. |
System.Int32 | 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 |
---|---|---|
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 |
---|---|
System.Int32 |
EndPosition
Gets the End Column.
Declaration
public int EndPosition { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
StartLine
Gets the Start Line.
Declaration
public int StartLine { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
StartPosition
Gets the Start Column.
Declaration
public int StartPosition { get; }
Property Value
Type | Description |
---|---|
System.Int32 |