C# 클래스 SimpleFramework.Xml.Stream.StreamReader.Text

The Text object is used to represent a text event. If wraps a node that holds text consumed from the document. These are used by InputNode objects to extract the text values for elements For debugging this exposes the node.
상속: EventToken
파일 보기 프로젝트 열기: ngallagher/simplexml

공개 메소드들

메소드 설명
IsText ( ) : bool

This is true as this event represents a text token. Text tokens are required to provide a value only. So namespace details and the node name will always return null.

Text ( XmlReader reader ) : System.Collections.Generic

Constructor for the Text object. This creates an event that provides text to the core reader. Text can be in the form of a CDATA section or a normal text entry.

메소드 상세

IsText() 공개 메소드

This is true as this event represents a text token. Text tokens are required to provide a value only. So namespace details and the node name will always return null.
public IsText ( ) : bool
리턴 bool

Text() 공개 메소드

Constructor for the Text object. This creates an event that provides text to the core reader. Text can be in the form of a CDATA section or a normal text entry.
public Text ( XmlReader reader ) : System.Collections.Generic
reader System.Xml.XmlReader
리턴 System.Collections.Generic