ConfigurationElementCollection.CollectionType ConfigurationElementCollection.CollectionType ConfigurationElementCollection.CollectionType ConfigurationElementCollection.CollectionType Property

Definition

Ruft den Typ des ConfigurationElementCollection ab.Gets the type of the 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

Eigenschaftswert

Beispiele

Im folgenden Codebeispiel wird veranschaulicht, wie zum Abrufen der CollectionType Eigenschaft.The following code example shows how to get the CollectionType property.

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

Hinweise

Der Typ wird entweder eine BasicMap oder AddRemoveClearMap Feld.The type will be either a BasicMap or an AddRemoveClearMap field. Weitere Informationen finden Sie unter ConfigurationElementCollectionType.For more information, see ConfigurationElementCollectionType.

Gilt für: