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:
.
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public bool IgnoreNonSerializedAttribute { get; set; }
Public Property IgnoreNonSerializedAttribute As Boolean
Get
Set
public:
property bool IgnoreNonSerializedAttribute {
bool get ();
void set (bool value);
}
member IgnoreNonSerializedAttribute : bool with get, set
Property Value
Boolean to serialize fields even if they are marked by
NonSerializedAttribute;
otherwise,
.