Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

JsonNamingPolicy.ConvertName(String) Method

Definition

Namespace:
System.Text.Json
Assembly:
System.Text.Json.dll
Package:
System.Text.Json v11.0.0-preview.5.26302.115
Source:
JsonNamingPolicy.cs
Source:
JsonNamingPolicy.cs
Source:
JsonNamingPolicy.cs
Source:
JsonNamingPolicy.cs
Source:
JsonNamingPolicy.cs
Source:
JsonNamingPolicy.cs
Source:
JsonNamingPolicy.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?