편집

다음을 통해 공유


XamlBackgroundReader Class

Definition

Implements a double-buffered XamlReader that can split reading and writing to different threads.

public ref class XamlBackgroundReader : System::Xaml::XamlReader, System::Xaml::IXamlLineInfo
public class XamlBackgroundReader : System.Xaml.XamlReader, System.Xaml.IXamlLineInfo
type XamlBackgroundReader = class
    inherit XamlReader
    interface IXamlLineInfo
Public Class XamlBackgroundReader
Inherits XamlReader
Implements IXamlLineInfo
Inheritance
XamlBackgroundReader
Implements

Constructors

XamlBackgroundReader(XamlReader)

Initializes a new instance of the XamlBackgroundReader class.

Properties

HasLineInfo

Gets a value that specifies whether line information is available.

IsDisposed

Gets whether Dispose(Boolean) has been called.

(Inherited from XamlReader)
IsEof

Gets a value that reports whether the reader position is at end-of-file.

LineNumber

Gets the line number to report.

LinePosition

Gets the line position to report.

Member

Gets the current member at the reader position, if the reader position is on a StartMember.

Namespace

Gets the XAML namespace from the current node.

NodeType

Gets the type of the current node.

SchemaContext

Gets an object that provides schema context information for the information set.

Type

Gets the XamlType of the current node.

Value

Gets the value of the current node.

Methods

Close()

Closes the XAML node stream.

(Inherited from XamlReader)
Dispose(Boolean)

Releases the unmanaged resources used by the XamlBackgroundReader and optionally releases the managed resources.

Equals(Object)

Determines whether the specified object is equal to the current object.

(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, if a node is available.

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)
StartThread()

Creates and starts a new Thread (constructed from ParameterizedThreadStart) that handles a named thread for the XamlReader.

StartThread(String)

Creates and starts a new Thread (constructed from ParameterizedThreadStart) that handles a named thread for the XamlReader. You specify the thread name as a parameter.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDisposable.Dispose()

Releases all resources used by the current instance of the XamlReader class.

(Inherited from XamlReader)

Applies to