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.
[Visual Basic]
Public MustOverride ReadOnly Property IsDefault As Boolean
[C#]
public abstract bool IsDefault {get;}
[C++]
public: __property virtual bool get_IsDefault() = 0;
[JScript]
public abstract function get IsDefault() : Boolean; Property Value
true if the current node is an attribute whose value was generated from the default value defined in the DTD or schema; false if 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.
Example
See IsDefault (in the XmlValidatingReader class) for an example using this property.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard
See Also
XmlReader Class | XmlReader Members | System.Xml Namespace