PostSharp6.3/API Reference/Post­Sharp.​Serialization Namespace/PNon­Serialized­Attribute Class

PNonSerializedAttribute Class

Custom attribute that, when applied to a field of a class annotated with PSerializableAttribute, specifies that this field should not be serialized.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Serialization.PNonSerializedAttribute

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public sealed class PNonSerializedAttribute : Attribute

The PNonSerializedAttribute type exposes the following members.

Constructors
  NameDescription
Public methodPNonSerializedAttribute
Initializes a new instance of the PNonSerializedAttribute class
See Also