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

属性值

适用于