Bewerken

Share via


JsonPropertyNameAttribute(String) Constructor

Definition

Initializes a new instance of JsonPropertyNameAttribute with the specified property name.

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)

Parameters

name
String

The name of the property.

Applies to