_Type.Attributes Properti

Definisi

Menyediakan objek COM dengan akses independen versi ke Attributes properti .

public:
 property System::Reflection::TypeAttributes Attributes { System::Reflection::TypeAttributes get(); };
public System.Reflection.TypeAttributes Attributes { get; }
member this.Attributes : System.Reflection.TypeAttributes
Public ReadOnly Property Attributes As TypeAttributes

Nilai Properti

Objek TypeAttributes yang mewakili set Typeatribut , kecuali Type mewakili parameter jenis generik, dalam hal ini nilainya tidak ditentukan.

Keterangan

Properti ini untuk akses ke kelas terkelola dari kode yang tidak dikelola, dan tidak boleh dipanggil dari kode terkelola.

Properti Type.Attributes mendapatkan atribut yang terkait dengan Type.

Berlaku untuk