XmlValidatingReader.IsDefault Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the document type definition (DTD) or schema.
public:
virtual property bool IsDefault { bool get(); };
public override bool IsDefault { get; }
member this.IsDefault : bool
Public Overrides ReadOnly Property IsDefault As 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
This property applies only to an attribute node.
Note
The XmlValidatingReader class is obsolete in .NET Framework 2.0. You can create a validating XmlReader instance by using the XmlReaderSettings class and the Create method. For more information, see the Remarks section of the XmlReader reference page.