XmlSchemaInfo.IsDefault Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value indicating if this validated XML node was set as the result of a default being applied during XML Schema Definition Language (XSD) schema validation.

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

public bool IsDefault { get; set; }

Property Value

Type: System.Boolean

A bool value.

The IsDefault property does not report DTD defaults.

.NET Framework
Available since 2.0
Return to top