C# 클래스 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.
상속: Position
파일 보기 프로젝트 열기: ngallagher/simplexml

공개 메소드들

메소드 설명
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

메소드 상세

InputPosition() 공개 메소드

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 ///
리턴 System

ToString() 공개 메소드

public ToString ( ) : String
리턴 String