Skip to main content

XmlReader Class

Namespace: System.Xml · Assembly: GHIElectronics.TinyCLR.System.Xml

Forward-only XML reader. Same surface as .NET's System.Xml.XmlReader.

public abstract class XmlReader : IDisposable

Properties

NodeType

public abstract XmlNodeType NodeType { get; }

No description available.

LocalName

public abstract string LocalName { get; }

No description available.

NamespaceURI

public abstract string NamespaceURI { get; }

No description available.

Prefix

public abstract string Prefix { get; }

No description available.

HasValue

public abstract bool HasValue { get; }

No description available.

Value

public abstract string Value { get; }

Current needle position. Only this property doesn't dirty the background — the pointer is repainted every frame. (inherited)

Depth

public abstract int Depth { get; }

No description available.

BaseURI

public abstract string BaseURI { get; }

No description available.

IsEmptyElement

public abstract bool IsEmptyElement { get; }

No description available.

AttributeCount

public abstract int AttributeCount { get; }

No description available.

EOF

public abstract bool EOF { get; }

No description available.

ReadState

public abstract ReadState ReadState { get; }

No description available.

Name

public virtual string Name { get; }

The native API name. (inherited)

HasAttributes

public virtual bool HasAttributes { get; }

No description available.

Methods

GetAttribute(string name)

public abstract string GetAttribute(string name)

No description available.

ParameterTypeDescription
namestring

Returns string

GetAttribute(string name, string namespaceURI)

public abstract string GetAttribute(string name, string namespaceURI)

No description available.

ParameterTypeDescription
namestring
namespaceURIstring

Returns string

GetAttribute(int i)

public abstract string GetAttribute(int i)

No description available.

ParameterTypeDescription
iint

Returns string

MoveToAttribute(string name)

public abstract bool MoveToAttribute(string name)

No description available.

ParameterTypeDescription
namestring

Returns bool

MoveToAttribute(string name, string ns)

public abstract bool MoveToAttribute(string name, string ns)

No description available.

ParameterTypeDescription
namestring
nsstring

Returns bool

MoveToFirstAttribute()

public abstract bool MoveToFirstAttribute()

No description available.

Returns bool

MoveToNextAttribute()

public abstract bool MoveToNextAttribute()

No description available.

Returns bool

MoveToElement()

public abstract bool MoveToElement()

No description available.

Returns bool

ReadAttributeValue()

public abstract bool ReadAttributeValue()

No description available.

Returns bool

Read()

public abstract bool Read()

Samples the current level of the pin without waiting. (inherited)

Returns bool

Close()

public abstract void Close()

When overridden by a descendant class, closes the response stream. (inherited)

LookupNamespace(string prefix)

public abstract string LookupNamespace(string prefix)

No description available.

ParameterTypeDescription
prefixstring

Returns string

ResolveEntity()

public abstract void ResolveEntity()

No description available.

Skip()

public virtual void Skip()

No description available.

ReadString()

public virtual string ReadString()

No description available.

Returns string

IsStartElement()

public virtual bool IsStartElement()

No description available.

Returns bool

IsStartElement(string name)

public virtual bool IsStartElement(string name)

No description available.

ParameterTypeDescription
namestring

Returns bool

MoveToContent()

public virtual XmlNodeType MoveToContent()

No description available.

Returns XmlNodeType

ReadStartElement()

public virtual void ReadStartElement()

No description available.

ReadStartElement(string name)

public virtual void ReadStartElement(string name)

No description available.

ParameterTypeDescription
namestring

ReadEndElement()

public virtual void ReadEndElement()

No description available.

ReadElementString()

public virtual string ReadElementString()

No description available.

Returns string

Dispose()

public virtual void Dispose()

Releases buffered memory (the unmanaged firmware/application buffers). (inherited)

Create(Stream input)

public static XmlReader Create(Stream input)

Creates a WebRequest . (inherited)

ParameterTypeDescription
inputStream

Returns XmlReader

Create(Stream input, XmlReaderSettings settings)

public static XmlReader Create(Stream input, XmlReaderSettings settings)

Creates or overwrites a file. (inherited)

ParameterTypeDescription
inputStream
settingsXmlReaderSettings

Returns XmlReader — TinyFileStream that provides stream based access to the file.

Create(Stream input, XmlReaderSettings settings, string baseUri)

public static XmlReader Create(Stream input, XmlReaderSettings settings, string baseUri)

No description available.

ParameterTypeDescription
inputStream
settingsXmlReaderSettings
baseUristring

Returns XmlReader

IsName(string str)

public static bool IsName(string str)

No description available.

ParameterTypeDescription
strstring

Returns bool

IsNameToken(string str)

public static bool IsNameToken(string str)

No description available.

ParameterTypeDescription
strstring

Returns bool