共用方式為


JsonSourceGenerationOptionsAttribute.PropertyNamingPolicy 屬性

定義

取得或設定用來轉換 JSON 屬性名稱的內建命名原則。

public:
 property System::Text::Json::Serialization::JsonKnownNamingPolicy PropertyNamingPolicy { System::Text::Json::Serialization::JsonKnownNamingPolicy get(); void set(System::Text::Json::Serialization::JsonKnownNamingPolicy value); };
public System.Text.Json.Serialization.JsonKnownNamingPolicy PropertyNamingPolicy { get; set; }
member this.PropertyNamingPolicy : System.Text.Json.Serialization.JsonKnownNamingPolicy with get, set
Public Property PropertyNamingPolicy As JsonKnownNamingPolicy

屬性值

適用於