共用方式為


EnableKeyedSerializerAttribute 類別

定義

允許類型指定要用於這個類別的序列化程式類型,在此情況下,沒有其他序列化程式宣告責任。

[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
繼承
EnableKeyedSerializerAttribute
屬性

建構函式

EnableKeyedSerializerAttribute(Type)

允許類型指定要用於這個類別的序列化程式類型,在此情況下,沒有其他序列化程式宣告責任。

屬性

SerializerType

當沒有其他序列化程式宣告責任時,要用於這個類別的序列化程式類型。

適用於