共用方式為


RegisterSerializerAttribute 類別

定義

套用至類型時,表示類型為序列化程式,而且應該自動註冊。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)]
public sealed class RegisterSerializerAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)>]
type RegisterSerializerAttribute = class
    inherit Attribute
Public NotInheritable Class RegisterSerializerAttribute
Inherits Attribute
繼承
RegisterSerializerAttribute
屬性

建構函式

RegisterSerializerAttribute()

套用至類型時,表示類型為序列化程式,而且應該自動註冊。

適用於

另請參閱