Edit

Share via


EnableKeyedSerializerAttribute Class

Definition

Allows a type to specify the serializer type to use for this class in the event that no other serializer claims responsibility.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)]
public sealed class EnableKeyedSerializerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)>]
type EnableKeyedSerializerAttribute = class
    inherit Attribute
Public NotInheritable Class EnableKeyedSerializerAttribute
Inherits Attribute
Inheritance
EnableKeyedSerializerAttribute
Attributes

Constructors

EnableKeyedSerializerAttribute(Type)

Properties

SerializerType

The serializer type to use for this class in the event that no other serializer claims responsibility.

Applies to