Bewerken

Delen via


XmlTextReader.IsDefault Property

Definition

Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the 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

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

Remarks

Note

Starting with the .NET Framework 2.0, we recommend that you create XmlReader instances by using the XmlReader.Create method to take advantage of new functionality.

This property applies only to attribute nodes.

Applies to

See also