System.Xml.XmlReader.IsDefault Property

When overridden in a derived class, gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.

Syntax

public virtual bool IsDefault { get; }

Value

A bool where true indicates the current node is an attribute whose value was generated from the default value defined in the DTD or schema; false indicates the attribute value was explicitly set.

Remarks

IsDefault always returns false for implementations of XmlReader that do not support schema or DTD information. This property applies only to an attribute node.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0