JsonNamingPolicy.ConvertName(String) Method
Definition
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.