ConfigurationElementCollection(T) Members

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image

The ConfigurationElementCollection<(Of <(<'T>)>)> type exposes the following members.

Constructors

Methods

  NameDescription
Public methodAdd
Adds an element
Protected methodBaseAdd(ConfigurationElement)
Adds a configuration element to the ConfigurationElementCollection.
(Overrides ConfigurationElementCollection..::..BaseAdd(ConfigurationElement).)
Protected methodBaseAdd(ConfigurationElement, Boolean)
Adds a configuration element to the configuration element collection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseAdd(Int32, ConfigurationElement)
Adds a configuration element to the configuration element collection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseClear
Removes all configuration element objects from the collection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseGet(Object)
Returns the configuration element with the specified key.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseGet(Int32)
Gets the configuration element at the specified index location.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseGetAllKeys
Returns an array of the keys for all of the configuration elements contained in the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseGetKey
Gets the key for the ConfigurationElement at the specified index location.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseIndexOf
The index of the specified ConfigurationElement.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseIsRemoved
Gets a value indicating whether the ConfigurationElement with the specified key has been removed from the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseRemove
Removes a ConfigurationElement from the collection.
(Inherited from ConfigurationElementCollection.)
Protected methodBaseRemoveAt
Removes the ConfigurationElement at the specified index location.
(Inherited from ConfigurationElementCollection.)
Public methodClear
Clears all the elements
Public methodCopyTo
Copies the contents of the ConfigurationElementCollection to an array.
(Inherited from ConfigurationElementCollection.)
Protected methodCreateNewElement()()()()
When overridden in a derived class, creates a new ConfigurationElement.
(Overrides ConfigurationElementCollection..::..CreateNewElement()()()().)
Protected methodCreateNewElement(String)
Creates a new ConfigurationElement when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected methodDeserializeElement
Reads XML from the configuration file.
(Inherited from ConfigurationElement.)
Public methodEquals
Compares the ConfigurationElementCollection to the specified object.
(Inherited from ConfigurationElementCollection.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetElementKey
Gets the element key for a specified configuration element when overridden in a derived class.
(Overrides ConfigurationElementCollection..::..GetElementKey(ConfigurationElement).)
Public methodGetEnumerator
Gets an IEnumerator which is used to iterate through the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Public methodGetHashCode
Gets a unique value representing the ConfigurationElementCollection instance.
(Inherited from ConfigurationElementCollection.)
Protected methodGetTransformedAssemblyString
Returns the transformed version of the specified assembly name.
(Inherited from ConfigurationElement.)
Protected methodGetTransformedTypeString
Returns the transformed version of the specified type name.
(Inherited from ConfigurationElement.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the index of an element
Protected methodInit
Sets the ConfigurationElement object to its initial state.
(Inherited from ConfigurationElement.)
Protected methodInitializeDefault
Used to initialize a default set of values for the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Protected methodIsElementName
Indicates whether the specified ConfigurationElement exists in the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected methodIsElementRemovable
Gets a value indicating whether the specified ConfigurationElement can be removed from the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected methodIsModified
Indicates whether this ConfigurationElementCollection has been modified since it was last saved or loaded when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Public methodIsReadOnly
Gets a value indicating whether the ConfigurationElementCollection object is read only.
(Inherited from ConfigurationElementCollection.)
Protected methodListErrors
Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list.
(Inherited from ConfigurationElement.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDeserializeUnrecognizedAttribute
Gets a value indicating whether an unknown attribute is encountered during deserialization.
(Inherited from ConfigurationElement.)
Protected methodOnDeserializeUnrecognizedElement
Causes the configuration system to throw an exception.
(Inherited from ConfigurationElementCollection.)
Protected methodOnRequiredPropertyNotFound
Throws an exception when a required property is not found.
(Inherited from ConfigurationElement.)
Protected methodPostDeserialize
Called after deserialization.
(Inherited from ConfigurationElement.)
Protected methodPreSerialize
Called before serialization.
(Inherited from ConfigurationElement.)
Public methodRemove(String)
Removes an element
Public methodRemove(T)
Removes an element
Public methodRemoveAt
Removes an element at the index
Protected methodReset
Resets the ConfigurationElementCollection to its unmodified state when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected methodResetModified
Resets the value of the IsModified()()()() property to false when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected methodSerializeElement
Writes the configuration data to an XML element in the configuration file when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected methodSerializeToXmlElement
Writes the outer tags of this configuration element to the configuration file when implemented in a derived class.
(Inherited from ConfigurationElement.)
Protected methodSetPropertyValue
Sets a property to the specified value.
(Inherited from ConfigurationElement.)
Protected methodSetReadOnly
Sets the IsReadOnly()()()() property for the ConfigurationElementCollection object and for all sub-elements.
(Inherited from ConfigurationElementCollection.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodUnmerge
Reverses the effect of merging configuration information from different levels of the configuration hierarchy
(Inherited from ConfigurationElementCollection.)

Properties

  NameDescription
Protected propertyAddElementName
Gets or sets the name of the ConfigurationElement to associate with the add operation in the ConfigurationElementCollection when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected propertyClearElementName
Gets or sets the name for the ConfigurationElement to associate with the clear operation in the ConfigurationElementCollection when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Public propertyCollectionType
Gets the type of the ConfigurationElementCollection.
(Overrides ConfigurationElementCollection..::..CollectionType.)
Public propertyCount
Gets the number of elements in the collection.
(Inherited from ConfigurationElementCollection.)
Public propertyCurrentConfiguration
Gets a reference to the top-level Configuration instance that represents the configuration hierarchy that the current ConfigurationElement instance belongs to.
(Inherited from ConfigurationElement.)
Public propertyElementInformation
Gets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Protected propertyElementName
Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Protected propertyElementProperty
Gets the ConfigurationElementProperty object that represents the ConfigurationElement object itself.
(Inherited from ConfigurationElement.)
Public propertyEmitClear
Gets or sets a value that specifies whether the collection has been cleared.
(Inherited from ConfigurationElementCollection.)
Protected propertyEvaluationContext
Gets the ContextInformation object for the ConfigurationElement object.
(Inherited from ConfigurationElement.)
Protected propertyHasContext (Inherited from ConfigurationElement.)
Public propertyIsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread safe).
(Inherited from ConfigurationElementCollection.)
Protected propertyItem[([( ConfigurationProperty])])
Gets or sets a property or attribute of this configuration element.
(Inherited from ConfigurationElement.)
Public propertyItem[([( Int32])])
Public propertyItem[([( String])])
Indexer for accessing an element
Public propertyLockAllAttributesExcept
Gets the collection of locked attributes.
(Inherited from ConfigurationElement.)
Public propertyLockAllElementsExcept
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockAttributes
Gets the collection of locked attributes
(Inherited from ConfigurationElement.)
Public propertyLockElements
Gets the collection of locked elements.
(Inherited from ConfigurationElement.)
Public propertyLockItem
Gets or sets a value indicating whether the element is locked.
(Inherited from ConfigurationElement.)
Protected propertyProperties
Gets the collection of properties.
(Inherited from ConfigurationElement.)
Protected propertyRemoveElementName
Gets or sets the name of the ConfigurationElement to associate with the remove operation in the ConfigurationElementCollection when overridden in a derived class.
(Inherited from ConfigurationElementCollection.)
Public propertySyncRoot
Gets an object used to synchronize access to the ConfigurationElementCollection.
(Inherited from ConfigurationElementCollection.)
Protected propertyThrowOnDuplicate
Gets a value indicating whether an attempt to add a duplicate ConfigurationElement to the ConfigurationElementCollection will cause an exception to be thrown.
(Inherited from ConfigurationElementCollection.)

See Also