JsonParameterInfoValues.HasDefaultValue 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,指定是否為 參數指定預設值。
public:
property bool HasDefaultValue { bool get(); void set(bool value); };
public bool HasDefaultValue { get; init; }
member this.HasDefaultValue : bool with get, set
Public Property HasDefaultValue As Boolean
屬性值
備註
此 API 可供 System.Text.Json 來源產生器的輸出使用,不應直接呼叫。