Bagikan melalui


ConfigurationElementCollection.CollectionType Properti

Definisi

Mendapatkan jenis ConfigurationElementCollection.

public:
 virtual property System::Configuration::ConfigurationElementCollectionType CollectionType { System::Configuration::ConfigurationElementCollectionType get(); };
public virtual System.Configuration.ConfigurationElementCollectionType CollectionType { get; }
member this.CollectionType : System.Configuration.ConfigurationElementCollectionType
Public Overridable ReadOnly Property CollectionType As ConfigurationElementCollectionType

Nilai Properti

Dari ConfigurationElementCollectionType koleksi ini.

Contoh

Contoh kode berikut menunjukkan cara mendapatkan CollectionType properti .

public override ConfigurationElementCollectionType CollectionType
{
    get
    {
        return ConfigurationElementCollectionType.AddRemoveClearMap;
    }
}
Public ReadOnly Property CollectionType() As ConfigurationElementCollectionType
    Get
        Return ConfigurationElementCollectionType.AddRemoveClearMap
    End Get
End Property

Keterangan

Jenisnya akan berupa BasicMap atau bidang AddRemoveClearMap . Untuk informasi selengkapnya, lihat ConfigurationElementCollectionType.

Berlaku untuk