This attribute is applied to fields in types that should not be serialized.
See Also:
NonSerializedAttribute Members
Syntax
[System.AttributeUsage(System.AttributeTargets.Field, Inherited=false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class
NonSerializedAttribute :
AttributeRemarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0