C# Class CustomConfigurations.ConfigurationGroupCollection

holds the collection of all configuraiton groups, i.e. all clients, the name attribute for each group is the key to the collection
Inheritance: System.Configuration.ConfigurationElementCollection
显示文件 Open project: twistedtwig/CustomConfigurations Class Usage Examples

Public Methods

Method Description
Add ( ConfigurationGroupElement item ) : void
Clear ( ) : void
IsReadOnly ( ) : bool
Remove ( ConfigurationGroupElement g ) : void
Remove ( int index ) : void
this ( int index ) : ConfigurationGroupElement
this ( string key ) : ConfigurationGroupElement

Protected Methods

Method Description
CreateNewElement ( ) : ConfigurationElement
GetElementKey ( ConfigurationElement element ) : object

Method Details

Add() public method

public Add ( ConfigurationGroupElement item ) : void
item ConfigurationGroupElement
return void

Clear() public method

public Clear ( ) : void
return void

CreateNewElement() protected method

protected CreateNewElement ( ) : ConfigurationElement
return System.Configuration.ConfigurationElement

GetElementKey() protected method

protected GetElementKey ( ConfigurationElement element ) : object
element System.Configuration.ConfigurationElement
return object

IsReadOnly() public method

public IsReadOnly ( ) : bool
return bool

Remove() public method

public Remove ( ConfigurationGroupElement g ) : void
g ConfigurationGroupElement
return void

Remove() public method

public Remove ( int index ) : void
index int
return void

this() public method

public this ( int index ) : ConfigurationGroupElement
index int
return ConfigurationGroupElement

this() public method

public this ( string key ) : ConfigurationGroupElement
key string
return ConfigurationGroupElement