IsDefault Property

XmlReader.IsDefault Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public virtual bool IsDefault { get; }

Property Value

Type: System.Boolean
true if the current node is an attribute whose value was generated from the default value defined in the DTD; false if the attribute value was explicitly set.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft