XmlSchemaElement.FixedValue Property

 
System_CAPS_noteNote

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.

Optional.

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
Show: