XamlDebuggerXmlReader Class

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

System.Object
  System.Xaml.XamlReader
    System.Activities.Debugger.XamlDebuggerXmlReader

Namespace:  System.Activities.Debugger
Assembly:  System.Activities (in System.Activities.dll)

public class XamlDebuggerXmlReader : XamlReader, 
	IXamlLineInfo

The XamlDebuggerXmlReader type exposes the following members.

  NameDescription
Public methodXamlDebuggerXmlReader(TextReader)Initializes a new instance of the XamlDebuggerXmlReader class with the specified text reader.
Public methodXamlDebuggerXmlReader(TextReader, XamlSchemaContext)Initializes a new instance of the XamlDebuggerXmlReader class with the specified text reader and schema context for interpreting or mapping XAML types.
Public methodXamlDebuggerXmlReader(XamlReader, TextReader) Obsolete. Initializes a new instance of the XamlDebuggerXmlReader class with the specified XAML reader and text reader.
Public methodXamlDebuggerXmlReader(XamlReader, IXamlLineInfo, TextReader) Obsolete. Initializes a new instance of the XamlDebuggerXmlReader class with the specified XAML reader, XAML line information, and text reader.
Top

  NameDescription
Public propertyCollectNonActivitySourceLocationGets or sets a value that indicates whether a non-activity source location is collected.
Public propertyHasLineInfoGets a value that indicates whether line information is available.
Protected propertyIsDisposedGets whether Dispose has been called. (Inherited from XamlReader.)
Public propertyIsEofGets a value that indicates whether the underlying reader has reached the end of the XAML file that is being parsed. (Overrides XamlReader.IsEof.)
Public propertyLineNumberGets the line in a XAML file that is currently being examined by the reader.
Public propertyLinePositionGets the position of the line in a XAML file that is currently being examined by the XML reader.
Public propertyMemberGets the starting member of the document being parsed to the XAML member base. (Overrides XamlReader.Member.)
Public propertyNamespaceGets the path that is used in the root element of the XAML document to establish a relationship between the XAML code and its schema. (Overrides XamlReader.Namespace.)
Public propertyNodeTypeGets the type of the node currently being read in a XAML file. (Overrides XamlReader.NodeType.)
Public propertySchemaContextGets the schema context for the underlying XAML reader. (Overrides XamlReader.SchemaContext.)
Public propertyTypeGets the record type at the XAML start node. (Overrides XamlReader.Type.)
Public propertyValueGets the element at the node currently being read. (Overrides XamlReader.Value.)
Top

  NameDescription
Public methodCloseCloses the XAML node stream. (Inherited from XamlReader.)
Public methodStatic memberCopyAttachedSourceLocationRetrieves row and column values from the specified activity object and assigns them to the current instance of the XAML reader.
Protected methodDisposeReleases the unmanaged resources used by the XamlDebuggerXmlReader, and optionally, releases the managed resources. (Overrides XamlReader.Dispose(Boolean).)

In .NET Framework Client Profile 4, this member is inherited from XamlReader.Dispose(Boolean).
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGetEndColumnGets the value of the attached property named in the EndColumnName dependency property field of the specified instance of a XAML reader.
Public methodStatic memberGetEndLineGets the value of the attached property named in the EndLineName dependency property field of the specified instance of a XAML reader.
Public methodStatic memberGetFileNameGets the value of the attached property named in the FileNameName dependency property field of the specified instance of a XAML reader.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetStartColumnGets the value of the attached property named in the StartColumnName dependency property field of the specified instance of a XAML reader.
Public methodStatic memberGetStartLineGets the value of the attached property named in the StartLineName dependency property field of the specified instance of a XAML reader.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadProvides the next XAML node from the loaded source, if a XAML node is available. (Overrides XamlReader.Read().)
Public methodReadSubtreeReturns 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.)
Public methodStatic memberSetEndColumnSets the value of the attached property named in the EndColumnName dependency property field of the specified instance of a XAML reader.
Public methodStatic memberSetEndLineSets the value of the attached property named in the EndLineName dependency property field of the specified instance of a XAML reader.
Public methodStatic memberSetFileNameSets the value of the attached property named in the FileNameName dependency property field of the specified instance of a XAML reader.
Public methodStatic memberSetStartColumnSets the value of the attached property named in the StartColumnName dependency property field of the specified instance of a XAML reader.
Public methodStatic memberSetStartLineSets the value of the attached property named in the StartLineName dependency property field of the specified instance of a XAML reader.
Public methodSkipSkips the current node and advances the reader position to the next node. (Inherited from XamlReader.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventSourceLocationFoundOccurs when the source location is found.
Top

  NameDescription
Public fieldStatic memberEndColumnNameThe name of an attached property that represents the ending column of an activity element in its XAML form.
Public fieldStatic memberEndLineNameThe name of an attached property that represents the ending line of an activity element in its XAML form.
Public fieldStatic memberFileNameNameThe name of an attached property that represents the name of the file to be parsed.
Public fieldStatic memberStartColumnNameThe name of an attached property that represents the starting column of the activity in its XAML form.
Public fieldStatic memberStartLineNameThe name of an attached property that represents the starting line of the activity in its XAML form.
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposeInfrastructure. Releases all resources used by the current instance of the XamlReader class. (Inherited from XamlReader.)
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft