Export (0) Print
Expand All

ConfigurationElementCollection.CollectionType Property

Gets the type of the ConfigurationElementCollection.

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

'Declaration
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft