Bewerken

Share via


JsonNamingPolicy.ConvertName(String) Method

Definition

When overridden in a derived class, converts the specified name according to the policy.

public:
 abstract System::String ^ ConvertName(System::String ^ name);
public abstract string ConvertName (string name);
abstract member ConvertName : string -> string
Public MustOverride Function ConvertName (name As String) As String

Parameters

name
String

The name to convert.

Returns

The converted name.

Remarks

For more information, see How to customize property names and values with System.Text.Json.

Applies to