C# Class SimpleFramework.Xml.Stream.InputPosition

The InputPosition object is used to acquire the line number within the XML document. This allows debugging to be done when a problem occurs with the source document. This object can be converted to a string using the toString method.
Inheritance: Position
Afficher le fichier Open project: ngallagher/simplexml

Méthodes publiques

Méthode Description
InputPosition ( EventNode source ) : System

Constructor for the InputPosition object. This is used to create a position description if the provided event is not null. This will return -1 if the specified event does not provide any location information.

ToString ( ) : String

Method Details

InputPosition() public méthode

Constructor for the InputPosition object. This is used to create a position description if the provided event is not null. This will return -1 if the specified event does not provide any location information.
public InputPosition ( EventNode source ) : System
source EventNode /// this is the XML event to get the position of ///
Résultat System

ToString() public méthode

public ToString ( ) : String
Résultat String