YamlIgnoreAttribute class

Prevents a property or field from being serialized or deserialized. When placed on a type, specifies the default YamlIgnoreCondition for all properties and fields of the type.

Namespace: System.Text.Yaml.Serialization ยท Assembly: Styml.dll

public sealed class YamlIgnoreAttribute : YamlAttribute

Inheritance: object โ†’ Attribute โ†’ YamlAttribute โ†’ YamlIgnoreAttribute

Prevents a property or field from being serialized or deserialized. When placed on a type, specifies the default YamlIgnoreCondition for all properties and fields of the type.

ConstructorsLink to this heading

Initializes a new instance of YamlIgnoreAttribute.

public YamlIgnoreAttribute();

PropertiesLink to this heading

ConditionLink to this heading

Specifies the condition that must be met before a property or field will be ignored.

public YamlIgnoreCondition Condition { get; set; }

The default value is YamlIgnoreCondition.Always.

Generated from the XML documentation of the libraryBuilt with Douze

Esc to close