Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

ConvertersCollection Class

Represents a configuration collection that contains references to Converter objects.

Syntax

CSharp

VisualBasic

<DefaultMemberAttribute("Item")> _
<ConfigurationCollectionAttribute(GetType())> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class ConvertersCollection _
	Inherits ConfigurationElementCollection

ManagedCPlusPlus

JSharp

/** @attribute DefaultMemberAttribute("Item") */
/** @attribute ConfigurationCollectionAttribute(Converter) */
/** @attribute AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal) */
/** @attribute AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) */
public class ConvertersCollection extends ConfigurationElementCollection

Members

IconMemberDescription
ConvertersCollectionNew()Initializes a new instance of the ConvertersCollection class.
Add(Converter)Adds a Converter object to the ConvertersCollection instance.
AddElementNameGets 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.)
BaseAdd(ConfigurationElement)Adds a configuration element to the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
BaseAdd(ConfigurationElement, Boolean)Adds a configuration element to the configuration element collection. (Inherited from ConfigurationElementCollection.)
BaseAdd(Int32, ConfigurationElement)Adds a configuration element to the configuration element collection. (Inherited from ConfigurationElementCollection.)
BaseClear()Removes all configuration element objects from the collection. (Inherited from ConfigurationElementCollection.)
BaseGet(Object)Returns the configuration element with the specified key. (Inherited from ConfigurationElementCollection.)
BaseGet(Int32)Gets the configuration element at the specified index location. (Inherited from ConfigurationElementCollection.)
BaseGetAllKeys()Returns an array of the keys for all of the configuration elements contained in the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
BaseGetKey(Int32)Gets the key for the ConfigurationElement at the specified index location. (Inherited from ConfigurationElementCollection.)
BaseIndexOf(ConfigurationElement)The index of the specified ConfigurationElement. (Inherited from ConfigurationElementCollection.)
BaseIsRemoved(Object)Gets a value indicating whether the ConfigurationElement with the specified key has been removed from the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
BaseRemove(Object)Removes a ConfigurationElement from the collection. (Inherited from ConfigurationElementCollection.)
BaseRemoveAt(Int32)Removes the ConfigurationElement at the specified index location. (Inherited from ConfigurationElementCollection.)
Clear()Removes all Converter objects from a ConvertersCollection object.
ClearElementNameGets 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.)
CollectionTypeGets the type of the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
CopyTo(ConfigurationElement[](), Int32)Copies the contents of the ConfigurationElementCollection to an array. (Inherited from ConfigurationElementCollection.)
CountGets the number of elements in the collection. (Inherited from ConfigurationElementCollection.)
CreateNewElement()Creates a new ConfigurationElement object. (Overrides ConfigurationElementCollection.CreateNewElement().)
CreateNewElement(String)Creates a new ConfigurationElement when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
DeserializeElement(XmlReader, Boolean)Reads XML from the configuration file. (Inherited from ConfigurationElement.)
ElementInformationGets an ElementInformation object that contains the non-customizable information and functionality of the ConfigurationElement object. (Inherited from ConfigurationElement.)
ElementNameGets the name used to identify this collection of elements in the configuration file when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
ElementPropertyGets the ConfigurationElementProperty object that represents the ConfigurationElement object itself. (Inherited from ConfigurationElement.)
EmitClearSpecifies whether the collection has been cleared. (Inherited from ConfigurationElementCollection.)
Equals(Object)Compares the ConfigurationElementCollection to the specified object. (Inherited from ConfigurationElementCollection.)
EvaluationContextGets the ContextInformation object for the ConfigurationElement object. (Inherited from ConfigurationElement.)
Finalize()Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetElementKey(ConfigurationElement)Gets the element key for the specified ConfigurationElement object. (Overrides ConfigurationElementCollection.GetElementKey(ConfigurationElement).)
GetEnumerator()Gets an IEnumerator which is used to iterate through the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
GetHashCode()Gets a unique value representing the ConfigurationElementCollection instance. (Inherited from ConfigurationElementCollection.)
GetType()Gets the Type of the current instance. (Inherited from Object.)
Init()Sets the ConfigurationElement object to its initial state. (Inherited from ConfigurationElement.)
InitializeDefault()Used to initialize a default set of values for the ConfigurationElement object. (Inherited from ConfigurationElement.)
IsElementName(String)Indicates whether the specified ConfigurationElement exists in the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
IsElementRemovable(ConfigurationElement)Gets a value indicating whether the specified ConfigurationElement can be removed from the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
IsModified()Indicates whether this ConfigurationElementCollection has been modified since it was last saved or loaded when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
IsReadOnly()Gets a value indicating whether the ConfigurationElementCollection object is read only. (Inherited from ConfigurationElementCollection.)
IsSynchronizedGets a value indicating whether access to the collection is synchronized (thread safe). (Inherited from ConfigurationElementCollection.)
Item(Int32)Gets or sets an item in the ConvertersCollection collection.
Item(ConfigurationProperty)Gets or sets a property or attribute of this configuration element. (Inherited from ConfigurationElement.)
Item(String)Gets or sets a property, attribute, or child element of this configuration element. (Inherited from ConfigurationElement.)
ListErrors(IList)Adds the invalid-property errors in this ConfigurationElement object, and in all subelements, to the passed list. (Inherited from ConfigurationElement.)
LockAllAttributesExceptGets the collection of locked attributes. (Inherited from ConfigurationElement.)
LockAllElementsExceptGets the collection of locked elements. (Inherited from ConfigurationElement.)
LockAttributesGets the collection of locked attributes (Inherited from ConfigurationElement.)
LockElementsGets the collection of locked elements. (Inherited from ConfigurationElement.)
LockItemGets or sets a value indicating whether the element is locked. (Inherited from ConfigurationElement.)
MemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
OnDeserializeUnrecognizedAttribute(String, String)Gets a value indicating whether an unknown attribute is encountered during deserialization. (Inherited from ConfigurationElement.)
OnDeserializeUnrecognizedElement(String, XmlReader)Causes the configuration system to throw an exception. (Inherited from ConfigurationElementCollection.)
OnRequiredPropertyNotFound(String)Throws an exception when a required property is not found. (Inherited from ConfigurationElement.)
PostDeserialize()Called after deserialization. (Inherited from ConfigurationElement.)
PreSerialize(XmlWriter)Called before serialization. (Inherited from ConfigurationElement.)
PropertiesGets a collection of configuration-element properties. (Overrides ConfigurationElement.Properties.)
Remove(Converter)Removes the specified converter from the ConvertersCollection object.
RemoveElementNameGets 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.)
Reset(ConfigurationElement)Resets the ConfigurationElementCollection to its unmodified state when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
ResetModified()Resets the value of the IsModified() property to false when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
SerializeElement(XmlWriter, Boolean)Writes the configuration data to an XML element in the configuration file when overridden in a derived class. (Inherited from ConfigurationElementCollection.)
SerializeToXmlElement(XmlWriter, String)Writes the outer tags of this configuration element to the configuration file when implemented in a derived class. (Inherited from ConfigurationElement.)
SetPropertyValue(ConfigurationProperty, Object, Boolean)Sets a property to the specified value. (Inherited from ConfigurationElement.)
SetReadOnly()Sets the IsReadOnly() property for the ConfigurationElementCollection object and for all sub-elements. (Inherited from ConfigurationElementCollection.)
SyncRootGets an object used to synchronize access to the ConfigurationElementCollection. (Inherited from ConfigurationElementCollection.)
ThrowOnDuplicateGets a value indicating whether an attempt to add a duplicate ConfigurationElement to the ConfigurationElementCollection will cause an exception to be thrown. (Inherited from ConfigurationElementCollection.)
ToString()Returns a String that represents the current Object. (Inherited from Object.)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)Reverses the effect of merging configuration information from different levels of the configuration hierarchy (Inherited from ConfigurationElementCollection.)

Remarks

You can use the ConvertersCollection to work with a collection of Converter objects. Implement this class to add collections of custom Converter elements to a ConfigurationSection object.

Permissions

  • AspNetHostingPermission

    for operating in a hosted environment. Demand value: LinkDemand. Associated enumeration: Minimal.

  • AspNetHostingPermission

    for operating in a hosted environment. Demand value: InheritanceDemand. Associated enumeration: Minimal.

Inheritance Hierarchy

Assembly: System.Web.Extensions (Module: System.Web.Extensions)