CustomSerializerSurrogateSelectorIgnoreNonSerializedAttribute Property

Gets or sets whether the fields that are marked by NonSerializedAttribute should be forcibly serialized. The value of this property can be overridden by handling the GettingField event.
Default value: .

Definition

Namespace: KGySoft.Serialization.Binary
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public bool IgnoreNonSerializedAttribute { get; set; }

Property Value

Boolean
to serialize fields even if they are marked by NonSerializedAttribute; otherwise, .

See Also