Επεξεργασία

Κοινή χρήση μέσω


XamlDebuggerXmlReader Class

Definition

Provides the functionality to parse XAML markup code into an object or tree of objects.

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

Constructors

XamlDebuggerXmlReader(TextReader, XamlSchemaContext)

Initializes a new instance of the XamlDebuggerXmlReader class with the specified text reader and schema context for interpreting or mapping XAML types.

XamlDebuggerXmlReader(TextReader)

Initializes a new instance of the XamlDebuggerXmlReader class with the specified text reader.

XamlDebuggerXmlReader(XamlReader, IXamlLineInfo, TextReader)
Obsolete.

Initializes a new instance of the XamlDebuggerXmlReader class with the specified XAML reader, XAML line information, and text reader.

XamlDebuggerXmlReader(XamlReader, TextReader)
Obsolete.

Initializes a new instance of the XamlDebuggerXmlReader class with the specified XAML reader and text reader.

Fields

EndColumnName

The name of an attached property that represents the ending column of an activity element in its XAML form.

EndLineName

The name of an attached property that represents the ending line of an activity element in its XAML form.

FileNameName

The name of an attached property that represents the name of the file to be parsed.

StartColumnName

The name of an attached property that represents the starting column of the activity in its XAML form.

StartLineName

The name of an attached property that represents the starting line of the activity in its XAML form.

Properties

CollectNonActivitySourceLocation

Gets or sets a value that indicates whether a non-activity source location is collected.

HasLineInfo

Gets a value that indicates whether line information is available.

IsDisposed

Gets whether Dispose(Boolean) has been called.

(Inherited from XamlReader)
IsEof

Gets a value that indicates whether the underlying reader has reached the end of the XAML file that is being parsed.

LineNumber

Gets the line in a XAML file that is currently being examined by the reader.

LinePosition

Gets the position of the line in a XAML file that is currently being examined by the XML reader.

Member

Gets the starting member of the document being parsed to the XAML member base.

Namespace

Gets the path that is used in the root element of the XAML document to establish a relationship between the XAML code and its schema.

NodeType

Gets the type of the node currently being read in a XAML file.

SchemaContext

Gets the schema context for the underlying XAML reader.

Type

Gets the record type at the XAML start node.

Value

Gets the element at the node currently being read.

Methods

Close()

Closes the XAML node stream.

(Inherited from XamlReader)
CopyAttachedSourceLocation(Object, Object)

Retrieves row and column values from the specified activity object and assigns them to the current instance of the XAML reader.

Dispose(Boolean)

Releases the unmanaged resources used by the XamlDebuggerXmlReader, and optionally, releases the managed resources.

Dispose(Boolean)

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)
GetEndColumn(Object)

Gets the value of the attached property named in the EndColumnName dependency property field of the specified instance of a XAML reader.

GetEndLine(Object)

Gets the value of the attached property named in the EndLineName dependency property field of the specified instance of a XAML reader.

GetFileName(Object)

Gets the value of the attached property named in the FileNameName dependency property field of the specified instance of a XAML reader.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetStartColumn(Object)

Gets the value of the attached property named in the StartColumnName dependency property field of the specified instance of a XAML reader.

GetStartLine(Object)

Gets the value of the attached property named in the StartLineName dependency property field of the specified instance of a XAML reader.

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 loaded source, if a XAML 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)
SetEndColumn(Object, Object)

Sets the value of the attached property named in the EndColumnName dependency property field of the specified instance of a XAML reader.

SetEndLine(Object, Object)

Sets the value of the attached property named in the EndLineName dependency property field of the specified instance of a XAML reader.

SetFileName(Object, Object)

Sets the value of the attached property named in the FileNameName dependency property field of the specified instance of a XAML reader.

SetStartColumn(Object, Object)

Sets the value of the attached property named in the StartColumnName dependency property field of the specified instance of a XAML reader.

SetStartLine(Object, Object)

Sets the value of the attached property named in the StartLineName dependency property field of the specified instance of a XAML reader.

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)

Events

SourceLocationFound

Occurs when the source location is found.

Explicit Interface Implementations

IDisposable.Dispose()

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

(Inherited from XamlReader)

Applies to