SerializerTransparentAttribute Class

Definition

Indicates that the specific type is invisible for serialization purposes. Usable only on abstract types with no serialized fields and effectively removes it from the inheritance hierarchy. Adding/removing this attribute from a type will cause serialization protocol level incompatibility (like type hierarchy changes).

[System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)]
public sealed class SerializerTransparentAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)>]
type SerializerTransparentAttribute = class
    inherit Attribute
Public NotInheritable Class SerializerTransparentAttribute
Inherits Attribute
Inheritance
SerializerTransparentAttribute
Attributes

Constructors

SerializerTransparentAttribute()

Applies to