Class
OfficeIgnoreAttribute
OfficeIMO
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() #Inherited Methods
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.
Inherited Properties
public virtual object TypeId { get; } #Inherited from Attribute