XmlDataLoadOptions

XmlDataLoadOptions class

Represents options for XML data loading.

public class XmlDataLoadOptions

Constructors

Name Description
XmlDataLoadOptions() Initializes a new instance of this class with default options.

Properties

Name Description
AlwaysGenerateRootObject { get; set; } Gets or sets a flag indicating whether a generated data source will always contain an object for an XML root element. If an XML root element has no attributes and all its child elements have same names, such an object is not created by default.

Remarks

An instance of this class can be passed into constructors of XmlDataSource.

See Also