XmlSchemaElement.DefaultValue Vlastnost

Definice

Získá nebo nastaví výchozí hodnotu prvku, pokud jeho obsah je jednoduchý typ nebo obsah prvku je textOnly.

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

Hodnota vlastnosti

String

Výchozí hodnota elementu. Výchozí hodnota je nulový odkaz. Nepovinný parametr.

Poznámky

default Atributy fixed se vzájemně vylučují. Pokud element obsahuje jednoduchý typ., tato hodnota musí být platná hodnota daného typu.

Platí pro