TomlPropertyNameAttribute Class
Specifies the serialized TOML property name for a member.
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class TomlPropertyNameAttribute : TomlAttribute- Inheritance
TomlAttributeTomlPropertyNameAttribute
Constructors
| Name | Description |
|---|---|
| TomlPropertyNameAttribute(string) | Initializes a new instance of the TomlPropertyNameAttribute class. |
TomlPropertyNameAttribute(string)
TomlPropertyNameAttribute.csInitializes a new instance of the TomlPropertyNameAttribute class.
public TomlPropertyNameAttribute(string name)Parameters
namestring- The serialized member name.
Properties
| Name | Description |
|---|---|
| Name | Gets the serialized member name. |