YamlIncludeAttribute class

Indicates that the property or field should be included for serialization and deserialization.

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

public sealed class YamlIncludeAttribute : YamlAttribute

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

Indicates that the property or field should be included for serialization and deserialization.

RemarksLink to this heading

When applied to a public property, indicates that non-public getters and setters should be used for serialization and deserialization. Non-public properties and fields are not allowed when serializing and deserializing. If the attribute is used on a non-public property or field, an InvalidOperationException is thrown during the first serialization or deserialization of the declaring type.

ConstructorsLink to this heading

Initializes a new instance of YamlIncludeAttribute.

public YamlIncludeAttribute();

Generated from the XML documentation of the libraryBuilt with Douze

Esc to close