ConfigurationElementCollection.CollectionType Property

 

Gets the type of the ConfigurationElementCollection.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

Public Overridable ReadOnly Property CollectionType As ConfigurationElementCollectionType

The type will be either a BasicMap or an AddRemoveClearMap field. For more information, see ConfigurationElementCollectionType.

The following code example shows how to get the CollectionType property.

Public ReadOnly Property CollectionType() As ConfigurationElementCollectionType
    Get
        Return ConfigurationElementCollectionType.AddRemoveClearMap
    End Get
End Property

.NET Framework
Available since 2.0
Return to top
Show: