Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeIgnoreAttribute

OfficeIMO

Namespace
OfficeIMO
Assembly
OfficeIMO.Core
Source revision
ac7e6e1bad8a with working tree changes
Base
Attribute
Modifiers
sealed
Attributes
AttributeUsage(128, AllowMultiple = false)

Leaves a property out of serialization: always by default, or only when its value is null or the type's default when OfficeIgnoreAttribute.Condition says so.

Inheritance

  • Attribute
  • OfficeIgnoreAttribute

Constructors

public OfficeIgnoreAttribute() #

Properties

public OfficeIgnoreCondition Condition { get; set; } #

Gets or sets when the property is left out. Defaults to OfficeIgnoreCondition.Always, which also stops reading it. The other conditions affect writing only and win over the options' default ignore condition.