Edit

Share via


XData.XmlReader Property

Definition

Gets or sets a reader for the literal data.

public:
 property System::Object ^ XmlReader { System::Object ^ get(); void set(System::Object ^ value); };
public object XmlReader { get; set; }
member this.XmlReader : obj with get, set
Public Property XmlReader As Object

Property Value

A reader for the literal data.

Remarks

If no reader is previously set for XData, calling the get accessor creates a new XmlReader for this purpose.

The type of this property is Object rather than XmlReader in order to provide an optimization pathway for callers that do not want to include the System.Xml assembly just for the base type definitions, and who will be using the default reader.

Applies to