System.Xml.Schema.XmlSchemaAttribute.FixedValue Property

Gets or sets the fixed value for the attribute.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

FixedValue indicates that the attribute value, if present, must equal the supplied value. By default, this property is set to null, which means that no fixed value is supplied for the attribute. The fixed and default properties are mutually exclusive.

Optional.

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