XmlSchemaElement.DefaultValue プロパティ

定義

コンテンツが単純型の場合、または要素のコンテンツが 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

プロパティ値

要素の既定値。 既定値は null 参照です。 このフィールドは省略可能です。

注釈

fixed属性とdefault属性は相互に排他的です。 要素に単純型が含まれている場合、この値はその型の有効な値である必要があります。

適用対象