Provides a XamlReader implementation that reads object graphs and generates a XAML node stream.
Assembly: System.Xaml (in System.Xaml.dll)
Thetype exposes the following members.
|XamlObjectReader(Object)||Initializes a new instance of the class.|
|XamlObjectReader(Object, XamlObjectReaderSettings)||Initializes a new instance of the class with the specified reader settings.|
|XamlObjectReader(Object, XamlSchemaContext)||Initializes a new instance of the class with the specified schema context.|
|XamlObjectReader(Object, XamlSchemaContext, XamlObjectReaderSettings)||Initializes a new instance of the class with the specified schema context and reader settings.|
|Instance||Gets the object instance that is available at the current reader position.|
|IsDisposed||Gets whether Dispose has been called. (Inherited from XamlReader.)|
|IsEof||Gets a value that reports whether the reader position is at the end of the file. (Overrides XamlReader.IsEof.)|
|Member||Gets the current XamlMember at the reader position, if the reader position is on a StartMember. (Overrides XamlReader.Member.)|
|Namespace||Gets the XAML namespace declaration from the current reader position. (Overrides XamlReader.Namespace.)|
|NodeType||Gets the type of the current node. (Overrides XamlReader.NodeType.)|
|SchemaContext||Gets an object that provides schema information for the information set. (Overrides XamlReader.SchemaContext.)|
|Type||Gets the XamlType of the object at the current reader position. (Overrides XamlReader.Type.)|
|Value||Gets the value of the node at the current reader position. (Overrides XamlReader.Value.)|
|Close||Closes the XAML node stream. (Inherited from XamlReader.)|
|Dispose||Releases the unmanaged resources used by the XamlReader, and optionally, releases the managed resources. (Inherited from XamlReader.)|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Read||Provides the next XAML node from the source object graph, if a node is available. (Overrides XamlReader.Read().)|
|ReadSubtree||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.)|
|Skip||Skips the current node and advances the reader position to the next node. (Inherited from XamlReader.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
Use the in scenarios where you want to process an object graph, which is typically the object graph of an application that is originally generated from a XAML source. You might use the where a round trip is made from a XAML start point to a XAML end point. Or you might run a over the object graph; process the intermediate XAML node stream, if it is required, by using APIs on XamlType and XamlMember; and then use XamlXmlWriter to serialize XAML nodes to XML.
More advanced scenarios might supply a XamlXmlWriter override and a specific XAML schema context that the uses and then passes to the writer override.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.