This documentation is archived and is not being maintained.

XmlTextReader.IsDefault Property

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]
Overrides Public ReadOnly Property IsDefault As Boolean
[C#]
public override bool IsDefault {get;}
[C++]
public: __property bool get_IsDefault();
[JScript]
public override function get IsDefault() : Boolean;

Property Value

This property always returns false. (XmlTextReader does not expand default attributes.)

Remarks

This property applies only to attribute nodes.

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

XmlTextReader Class | XmlTextReader Members | System.Xml Namespace

Show: