Class NonSerializedAttribute
Indicates that a field of a serializable class should not be serialized. This class cannot be inherited.
Inherited Members
Namespace: System
Assembly: mscorlib.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public sealed class NonSerializedAttribute : Attribute
Constructors
| Improve this Doc View SourceNonSerializedAttribute()
Initializes a new instance of the NonSerializedAttribute class.
Declaration
public NonSerializedAttribute()