ConfigurationElementCollection.CollectionType Eigenschaft

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

ConfigurationElementCollectionType

Der ConfigurationElementCollectionType dieser Auflistung.The ConfigurationElementCollectionType of this collection.

Beispiele

Im folgenden Codebeispiel wird gezeigt, wie Sie die- CollectionType Eigenschaft erhalten.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 ist entweder ein- BasicMap Feld oder ein- 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: