HumanReadablePropertyNameAttribute Class
Specifies the name to use when serializing a property or field.
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class HumanReadablePropertyNameAttribute : HumanReadableAttribute- Inheritance
HumanReadableAttributeHumanReadablePropertyNameAttribute
Constructors
| Name | Description |
|---|---|
| HumanReadablePropertyNameAttribute(string) | Initializes a new instance of the HumanReadablePropertyNameAttribute class. |
HumanReadablePropertyNameAttribute(string)
HumanReadablePropertyNameAttribute.csInitializes a new instance of the HumanReadablePropertyNameAttribute class.
public HumanReadablePropertyNameAttribute(string name)Parameters
namestring- The name to use when serializing.
Properties
| Name | Description |
|---|---|
| Name | Gets the name to use when serializing. |