ConfigurationProperty.Type Properti

Definisi

Mendapatkan tipe objek ini ConfigurationProperty .

API ini mendukung infrastruktur produk dan tidak dimaksudkan untuk digunakan langsung dari kode Anda.

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

Nilai Properti

mewakili Type tipe objek ini ConfigurationProperty .

Contoh

Contoh berikut menunjukkan cara mendapatkan Type nilai properti untuk objek properti konfigurasi tertentu.

string type = _MaxIdleTime.Type.ToString();
Console.WriteLine("MaxIdleTime type: {0}", type);
Dim type As String = _MaxIdleTime.Type.ToString()
Console.WriteLine("MaxIdleTime type: {0}", type)

Keterangan

Gunakan Type untuk menentukan namespace layanan dan nama kelas yang sepenuhnya memenuhi syarat untuk instans turunan ini dari ConfigurationProperty.

Berlaku untuk

Lihat juga