Bagikan melalui


KnownBaseTypeAttribute Kelas

Definisi

Menunjukkan bahwa jenis ini dan semua subjenis akan dianggap sebagai [Serializable].

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface)]
public sealed class KnownBaseTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface)>]
type KnownBaseTypeAttribute = class
    inherit Attribute
Public NotInheritable Class KnownBaseTypeAttribute
Inherits Attribute
Warisan
KnownBaseTypeAttribute
Atribut

Konstruktor

Nama Deskripsi
KnownBaseTypeAttribute()

Menunjukkan bahwa jenis ini dan semua subjenis akan dianggap sebagai [Serializable].

Berlaku untuk