Modifica

Condividi tramite


XamlNodeQueue Class

Definition

Provides a buffer for writing nodes and reading them again.

public ref class XamlNodeQueue
public class XamlNodeQueue
type XamlNodeQueue = class
Public Class XamlNodeQueue
Inheritance
XamlNodeQueue

Remarks

Nodes are consumed from the XamlNodeQueue when they are read by the XAML reader. If you require a list of XAML nodes that can be replayed, or a list model that supports random access, see XamlNodeList.

When you create a XamlNodeQueue, you create a writer delegate that exists as the Writer value. The writer delegate is based on an internal XAML writer class that is specifically for XAML nodes.

Constructors

XamlNodeQueue(XamlSchemaContext)

Initializes a new instance of the XamlNodeQueue class using a provided XAML schema context.

Properties

Count

Gets the number of nodes in the XamlNodeQueue.

IsEmpty

Gets a value that determines whether this XamlNodeQueue does not contain nodes.

Reader

Gets a XAML reader implementation delegate.

Writer

Gets the associated XAML writer.

Methods

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

Returns a string that represents the current object.

(Inherited from Object)

Applies to