TomlIgnoreAttribute Class
Instructs the TomlSerializer when to ignore the field or property value.
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class TomlIgnoreAttribute : TomlAttribute- Inheritance
TomlAttributeTomlIgnoreAttribute
Constructors
| Name | Description |
|---|---|
| TomlIgnoreAttribute() |
TomlIgnoreAttribute()
TomlIgnoreAttribute.cspublic TomlIgnoreAttribute()No documentation is available.
Properties
| Name | Description |
|---|---|
| Condition | Gets or sets the condition that must be met before the member is ignored. |
Condition
TomlIgnoreAttribute.csGets or sets the condition that must be met before the member is ignored.
public TomlIgnoreCondition Condition { get; set; }Property value
Exceptions
ArgumentOutOfRangeException- Value is not a defined
TomlIgnoreCondition.
Remarks
The default value is TomlIgnoreCondition.Always.