Share via


NonSerializedAttribute Class

Indicates that a field of a serializable class should not be serialized.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[AttributeUsageAttribute]
public sealed class NonSerializedAttribute : Attribute

Remarks

This class cannot be inherited.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

NonSerializedAttribute Members
System Namespace