Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

YamlSerializableAttribute

OfficeIMO.Yaml

Namespace
OfficeIMO.Yaml
Assembly
OfficeIMO.Yaml
Source revision
0eef6a5756b9 with working tree changes
Base
Attribute
Modifiers
sealed
Attributes
AttributeUsage(4, AllowMultiple = true)

Adds a root type to a YamlSerializerContext. The source generator produces metadata for the type and every type it reaches through properties, collections and derived-type registrations.

Inheritance

  • Attribute
  • YamlSerializableAttribute

Constructors

public YamlSerializableAttribute(Type type) #

Creates the attribute.

Parameters

type System.Type required
The type to generate metadata for.

Properties

public Type Type { get; } #

Gets the type.