XamlObjectReader.Type Property

Definition

Gets the XamlType of the object at the current reader position.

public:
 virtual property System::Xaml::XamlType ^ Type { System::Xaml::XamlType ^ get(); };
public override System.Xaml.XamlType Type { get; }
member this.Type : System.Xaml.XamlType
Public Overrides ReadOnly Property Type As XamlType

Property Value

The XamlType of the object at the current reader position; or null if the position is not on an object.

Remarks

This property returns a non-null result only if the NodeType property of the current reader position is StartObject.

Applies to