XmlSchemaElement.FixedValue 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 the fixed value.

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

public string FixedValue { get; set; }

Property Value

Type: System.String

The fixed value that is predetermined and unchangeable. The default is a null reference.


The content should be a simple type or textOnly. The fixed and default attributes are mutually exclusive.

.NET Framework
Available since 1.1
Return to top