PostSharp4.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: 4.3.48.0 (4.3.48.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
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also