JsonPropertyNameAttribute(String) 构造函数

定义

使用指定的属性名称初始化 JsonPropertyNameAttribute 的新实例。

public:
 JsonPropertyNameAttribute(System::String ^ name);
public JsonPropertyNameAttribute (string name);
new System.Text.Json.Serialization.JsonPropertyNameAttribute : string -> System.Text.Json.Serialization.JsonPropertyNameAttribute
Public Sub New (name As String)

参数

name
String

属性的名称。

适用于