C# Class System.Configuration.ConfigurationElementCollection

Inheritance: ConfigurationElement, ICollection, IEnumerable
Datei anzeigen Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
AssociateContext void
BaseAdd void
BaseAdd void
BaseAddInternal void
BaseRemove void
CallCreateNewElement ConfigurationElement
CallCreateNewElement ConfigurationElement
CompareKeys bool
GetElementKeyInternal Object
GetElementsEnumerator IEnumerator
GetEnumeratorImpl IEnumerator
ICollection void
IsLockableElement bool
RealIndexOf int

Public Methods

Method Description
CopyTo ( ConfigurationElement array, int index ) : void
Equals ( object compareTo ) : bool
GetEnumerator ( ) : IEnumerator
GetHashCode ( ) : int
IsReadOnly ( ) : bool

Protected Methods

Method Description
BaseAdd ( ConfigurationElement element ) : void
BaseAdd ( ConfigurationElement element, bool throwIfExists ) : void
BaseAdd ( int index, ConfigurationElement element ) : void
BaseClear ( ) : void
BaseGet ( Object key ) : ConfigurationElement
BaseGet ( int index ) : ConfigurationElement
BaseGetAllKeys ( ) : object[]
BaseGetKey ( int index ) : object
BaseIndexOf ( ConfigurationElement element ) : int
BaseIsRemoved ( Object key ) : bool
BaseRemove ( Object key ) : void
BaseRemoveAt ( int index ) : void
ConfigurationElementCollection ( ) : System
ConfigurationElementCollection ( IComparer comparer ) : System
CreateNewElement ( ) : ConfigurationElement
CreateNewElement ( string elementName ) : ConfigurationElement
GetElementKey ( ConfigurationElement element ) : Object
IsElementName ( string elementName ) : bool
IsElementRemovable ( ConfigurationElement element ) : bool
IsModified ( ) : bool
OnDeserializeUnrecognizedElement ( String elementName, XmlReader reader ) : bool
Reset ( ConfigurationElement parentElement ) : void
ResetModified ( ) : void
SerializeElement ( XmlWriter writer, bool serializeCollectionKey ) : bool
SetReadOnly ( ) : void
Unmerge ( ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode ) : void

Private Methods

Method Description
AssociateContext ( BaseConfigurationRecord configRecord ) : void
BaseAdd ( ConfigurationElement element, bool throwIfExists, bool ignoreLocks ) : void
BaseAdd ( int index, ConfigurationElement element, bool ignoreLocks ) : void
BaseAddInternal ( int index, ConfigurationElement element, bool flagAsReplaced, bool ignoreLocks ) : void
BaseRemove ( Object key, bool throwIfMissing ) : void
CallCreateNewElement ( ) : ConfigurationElement
CallCreateNewElement ( string elementName ) : ConfigurationElement
CompareKeys ( Object key1, Object key2 ) : bool
GetElementKeyInternal ( ConfigurationElement element ) : Object
GetElementsEnumerator ( ) : IEnumerator
GetEnumeratorImpl ( ) : IEnumerator
ICollection ( Array arr, int index ) : void
IsLockableElement ( string elementName ) : bool
RealIndexOf ( ConfigurationElement element ) : int

Method Details

BaseAdd() protected method

protected BaseAdd ( ConfigurationElement element ) : void
element ConfigurationElement
return void

BaseAdd() protected method

protected BaseAdd ( ConfigurationElement element, bool throwIfExists ) : void
element ConfigurationElement
throwIfExists bool
return void

BaseAdd() protected method

protected BaseAdd ( int index, ConfigurationElement element ) : void
index int
element ConfigurationElement
return void

BaseClear() protected method

protected BaseClear ( ) : void
return void

BaseGet() protected method

protected BaseGet ( Object key ) : ConfigurationElement
key Object
return ConfigurationElement

BaseGet() protected method

protected BaseGet ( int index ) : ConfigurationElement
index int
return ConfigurationElement

BaseGetAllKeys() protected method

protected BaseGetAllKeys ( ) : object[]
return object[]

BaseGetKey() protected method

protected BaseGetKey ( int index ) : object
index int
return object

BaseIndexOf() protected method

protected BaseIndexOf ( ConfigurationElement element ) : int
element ConfigurationElement
return int

BaseIsRemoved() protected method

protected BaseIsRemoved ( Object key ) : bool
key Object
return bool

BaseRemove() protected method

protected BaseRemove ( Object key ) : void
key Object
return void

BaseRemoveAt() protected method

protected BaseRemoveAt ( int index ) : void
index int
return void

ConfigurationElementCollection() protected method

protected ConfigurationElementCollection ( ) : System
return System

ConfigurationElementCollection() protected method

protected ConfigurationElementCollection ( IComparer comparer ) : System
comparer IComparer
return System

CopyTo() public method

public CopyTo ( ConfigurationElement array, int index ) : void
array ConfigurationElement
index int
return void

CreateNewElement() protected abstract method

protected abstract CreateNewElement ( ) : ConfigurationElement
return ConfigurationElement

CreateNewElement() protected method

protected CreateNewElement ( string elementName ) : ConfigurationElement
elementName string
return ConfigurationElement

Equals() public method

public Equals ( object compareTo ) : bool
compareTo object
return bool

GetElementKey() protected abstract method

protected abstract GetElementKey ( ConfigurationElement element ) : Object
element ConfigurationElement
return Object

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsElementName() protected method

protected IsElementName ( string elementName ) : bool
elementName string
return bool

IsElementRemovable() protected method

protected IsElementRemovable ( ConfigurationElement element ) : bool
element ConfigurationElement
return bool

IsModified() protected method

protected IsModified ( ) : bool
return bool

IsReadOnly() public method

public IsReadOnly ( ) : bool
return bool

OnDeserializeUnrecognizedElement() protected method

protected OnDeserializeUnrecognizedElement ( String elementName, XmlReader reader ) : bool
elementName String
reader System.Xml.XmlReader
return bool

Reset() protected method

protected Reset ( ConfigurationElement parentElement ) : void
parentElement ConfigurationElement
return void

ResetModified() protected method

protected ResetModified ( ) : void
return void

SerializeElement() protected method

protected SerializeElement ( XmlWriter writer, bool serializeCollectionKey ) : bool
writer System.Xml.XmlWriter
serializeCollectionKey bool
return bool

SetReadOnly() protected method

protected SetReadOnly ( ) : void
return void

Unmerge() protected method

protected Unmerge ( ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode ) : void
sourceElement ConfigurationElement
parentElement ConfigurationElement
saveMode ConfigurationSaveMode
return void