System.Xml.Schema.XmlSchemaElement.DefaultValue Property

Gets or sets the default value of the element if its content is a simple type or content of the element is textOnly.

Syntax

[System.ComponentModel.DefaultValue(null)]
[System.Xml.Serialization.XmlAttribute("default")]
public string DefaultValue { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The fixed and default attributes are mutually exclusive. If the element contains a simple type, this value must be a valid value of that type.

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0