XmlSchemaAttribute.FixedValue Proprietà

Definizione

Ottiene o imposta il valore fisso per l'attributo.

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

Valore della proprietà

Valore fisso per l'attributo. Il valore predefinito è Null. Optional.

Commenti

FixedValue indica che il valore dell'attributo, se presente, deve essere uguale al valore fornito. Per impostazione predefinita, questa proprietà è impostata su null, il che significa che per l'attributo non viene fornito alcun valore fisso. Le proprietà fixed e default si escludono a vicenda.

Optional.

Si applica a