Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

YamlTypeInfo

OfficeIMO.Yaml

Namespace
OfficeIMO.Yaml
Assembly
OfficeIMO.Yaml
Source revision
0eef6a5756b9 with working tree changes
Modifiers
abstract

Serialization metadata for one .NET type, bound to one YamlSerializerOptions instance. Get it from a generated YamlSerializerContext (MyContext.Default.Person) or from YamlSerializerOptions.GetTypeInfo, and pass it to the YamlSerializer overloads that take one; those overloads use no reflection, so they work with trimming and NativeAOT.

Inheritance

  • object
  • YamlTypeInfo

Derived Types

Properties

public Type Type { get; } #

Gets the type the metadata describes.

public YamlSerializerOptions Options { get; } #

Gets the options the metadata is bound to.