共用方式為


JsonParameterInfoValues.IsNullable 屬性

定義

參數是否允許 null 值。

public:
 property bool IsNullable { bool get(); void set(bool value); };
public bool IsNullable { get; init; }
member this.IsNullable : bool with get, set
Public Property IsNullable As Boolean

屬性值

備註

此 API 供 System.Text.Json 來源產生器的輸出使用,不應直接呼叫。

適用於