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.
| Parameter | Type | Description |
|---|---|---|
name | string |
Returns string
GetAttribute(string name, string namespaceURI)
public abstract string GetAttribute(string name, string namespaceURI)
No description available.
| Parameter | Type | Description |
|---|---|---|
name | string | |
namespaceURI | string |
Returns string
GetAttribute(int i)
public abstract string GetAttribute(int i)
No description available.
| Parameter | Type | Description |
|---|---|---|
i | int |
Returns string
MoveToAttribute(string name)
public abstract bool MoveToAttribute(string name)
No description available.
| Parameter | Type | Description |
|---|---|---|
name | string |
Returns bool
MoveToAttribute(string name, string ns)
public abstract bool MoveToAttribute(string name, string ns)
No description available.
| Parameter | Type | Description |
|---|---|---|
name | string | |
ns | string |
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.
| Parameter | Type | Description |
|---|---|---|
prefix | string |
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.
| Parameter | Type | Description |
|---|---|---|
name | string |
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.
| Parameter | Type | Description |
|---|---|---|
name | string |
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)
| Parameter | Type | Description |
|---|---|---|
input | Stream |
Returns XmlReader
Create(Stream input, XmlReaderSettings settings)
public static XmlReader Create(Stream input, XmlReaderSettings settings)
Creates or overwrites a file. (inherited)
| Parameter | Type | Description |
|---|---|---|
input | Stream | |
settings | XmlReaderSettings |
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.
| Parameter | Type | Description |
|---|---|---|
input | Stream | |
settings | XmlReaderSettings | |
baseUri | string |
Returns XmlReader
IsName(string str)
public static bool IsName(string str)
No description available.
| Parameter | Type | Description |
|---|---|---|
str | string |
Returns bool
IsNameToken(string str)
public static bool IsNameToken(string str)
No description available.
| Parameter | Type | Description |
|---|---|---|
str | string |
Returns bool