Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XamlXmlReader Class

.NET Framework (current version)
 

Processes XAML markup from XML files by using an XmlReader intermediary, and produces a XAML node stream.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

System.Object
  System.Xaml.XamlReader
    System.Xaml.XamlXmlReader

public class XamlXmlReader : XamlReader, IXamlLineInfo

NameDescription
System_CAPS_pubmethodXamlXmlReader(Stream)

Initializes a new instance of the XamlXmlReader class, based on a stream.

System_CAPS_pubmethodXamlXmlReader(Stream, XamlSchemaContext)

Initializes a new instance of the XamlXmlReader class, based on a stream, and using a supplied XAML schema context.

System_CAPS_pubmethodXamlXmlReader(Stream, XamlSchemaContext, XamlXmlReaderSettings)

Initializes a new instance of the XamlXmlReader class, based on a stream, with a supplied XAML schema context and XAML-specific settings.

System_CAPS_pubmethodXamlXmlReader(Stream, XamlXmlReaderSettings)

Initializes a new instance of the XamlXmlReader class, based on a stream, with XAML-specific settings.

System_CAPS_pubmethodXamlXmlReader(String)

Initializes a new instance of the XamlXmlReader class, based on a file name of a file to load into a default XML reader.

System_CAPS_pubmethodXamlXmlReader(String, XamlSchemaContext)

Initializes a new instance of the XamlXmlReader class, based on the file name of a file to load into a default XML reader, with a supplied XAML schema context.

System_CAPS_pubmethodXamlXmlReader(String, XamlSchemaContext, XamlXmlReaderSettings)

Initializes a new instance of the XamlXmlReader class, based on the file name of a file to load into a default XML reader, and using a supplied XAML schema context and XAML-specific reader settings.

System_CAPS_pubmethodXamlXmlReader(String, XamlXmlReaderSettings)

Initializes a new instance of the XamlXmlReader class, based on the file name of a file to load into a default XML reader, and using XAML-specific reader settings.

System_CAPS_pubmethodXamlXmlReader(TextReader)

Initializes a new instance of the XamlXmlReader class, based on a TextReader.

System_CAPS_pubmethodXamlXmlReader(TextReader, XamlSchemaContext)

Initializes a new instance of the XamlXmlReader class, based on a TextReader, with a supplied schema context and XAML-specific settings.

System_CAPS_pubmethodXamlXmlReader(TextReader, XamlSchemaContext, XamlXmlReaderSettings)

Initializes a new instance of the XamlXmlReader class, based on a TextReader, and using a supplied schema context and XAML-specific settings.

System_CAPS_pubmethodXamlXmlReader(TextReader, XamlXmlReaderSettings)

Initializes a new instance of the XamlXmlReader class, based on a TextReader, and using XAML-specific settings.

System_CAPS_pubmethodXamlXmlReader(XmlReader)

Initializes a new instance of the XamlXmlReader class using the provided XmlReader.

System_CAPS_pubmethodXamlXmlReader(XmlReader, XamlSchemaContext)

Initializes a new instance of the XamlXmlReader class using the provided XmlReader and schema context.

System_CAPS_pubmethodXamlXmlReader(XmlReader, XamlSchemaContext, XamlXmlReaderSettings)

Initializes a new instance of the XamlXmlReader class using the provided XmlReader, schema context, and reader settings.

System_CAPS_pubmethodXamlXmlReader(XmlReader, XamlXmlReaderSettings)

Initializes a new instance of the XamlXmlReader class, using the provided XmlReader and reader settings.

NameDescription
System_CAPS_pubpropertyHasLineInfo

Gets a value that specifies whether line information is available.

System_CAPS_protpropertyIsDisposed

Gets whether Dispose has been called.(Inherited from XamlReader.)

System_CAPS_pubpropertyIsEof

Gets a value that reports whether the reader position in the XAML node stream is at end-of-file.(Overrides XamlReader.IsEof.)

System_CAPS_pubpropertyLineNumber

Gets the line number to report.

System_CAPS_pubpropertyLinePosition

Gets the line position to report.

System_CAPS_pubpropertyMember

Gets the current member at the reader position, if the current reader position is on a StartMember.(Overrides XamlReader.Member.)

System_CAPS_pubpropertyNamespace

Gets the XAML namespace from the current node.(Overrides XamlReader.Namespace.)

System_CAPS_pubpropertyNodeType

Gets the type of the current node.(Overrides XamlReader.NodeType.)

System_CAPS_pubpropertySchemaContext

Gets an object that provides schema information for the information set.(Overrides XamlReader.SchemaContext.)

System_CAPS_pubpropertyType

Gets the XamlType of the current node.(Overrides XamlReader.Type.)

System_CAPS_pubpropertyValue

Gets the value of the current node.(Overrides XamlReader.Value.)

NameDescription
System_CAPS_pubmethodClose()

Closes the XAML node stream.(Inherited from XamlReader.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the XamlReader, and optionally, releases the managed resources. (Inherited from XamlReader.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRead()

Provides the next XAML node from the loaded source, if a XAML node is available. (Overrides XamlReader.Read().)

System_CAPS_pubmethodReadSubtree()

Returns a XamlReader that is based on the current XamlReader, where the returned XamlReader is used to iterate through a subtree of the XAML node structure.(Inherited from XamlReader.)

System_CAPS_pubmethodSkip()

Skips the current node and advances the reader position to the next node.(Inherited from XamlReader.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

This API supports the product infrastructure and is not intended to be used directly from your code. Releases all resources used by the current instance of the XamlReader class.(Inherited from XamlReader.)

When you construct a XamlXmlReader, an XmlReader is required. The purpose of this design is to use established Microsoft .NET Framework APIs for XML processing in order to handle stream input, to obtain a stream from a file, and so on.

XmlReader is the first component of the standard load path for XAML operations and is incorporated by XamlServices.Load as well as by several existing framework XAML implementations for loading XAML.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft