Upraviť

Zdieľať cez


XmlSchemaAttribute.FixedValue Property

Definition

Gets or sets the fixed value for the attribute.

public:
 property System::String ^ FixedValue { System::String ^ get(); void set(System::String ^ value); };
public string? FixedValue { get; set; }
public string FixedValue { get; set; }
member this.FixedValue : string with get, set
Public Property FixedValue As String

Property Value

The fixed value for the attribute. The default is null. Optional.

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.

Applies to