Bagikan melalui


PropertyInformation.Type Properti

Definisi

Type Mendapatkan objek yang sesuai dengan atribut konfigurasi.

public:
 property Type ^ Type { Type ^ get(); };
public Type Type { get; }
member this.Type : Type
Public ReadOnly Property Type As Type

Nilai Properti

Objek TypePropertyInformation .

Contoh

Contoh kode berikut menunjukkan cara menggunakan Type properti . Contoh kode ini adalah bagian dari contoh yang lebih besar yang disediakan untuk PropertyInformation kelas .

// Display the Type property.
Console.WriteLine("Type: {0}", propertyItem.Type);
' Display the Type property.
Console.WriteLine("Type: {0}", propertyItem.Type)

Berlaku untuk