XmlSchemaElement.DefaultValue 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若元素內容為簡單型態,則 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
屬性值
元素的預設值。 預設是空參考。 Optional.
備註
fixed屬性default與 是互斥的。 若元素包含簡單型別,該值必須是該型別的有效值。