Class WritableConfigurationElementCollection<T>
- Namespace
- Amazon
- Assembly
- AWSSDK.Core.dll
Easy-to-use generic collection
public abstract class WritableConfigurationElementCollection<T> : ConfigurationElementCollection where T : SerializableConfigurationElement, new()
Type Parameters
T
- Inheritance
-
WritableConfigurationElementCollection<T>
Constructors
WritableConfigurationElementCollection()
protected WritableConfigurationElementCollection()
Properties
CollectionType
public override ConfigurationElementCollectionType CollectionType { get; }
Property Value
- ConfigurationElementCollectionType
ElementName
protected override string ElementName { get; }
Property Value
ItemPropertyName
protected abstract string ItemPropertyName { get; }
Property Value
Items
public List<T> Items { get; }
Property Value
- List<T>
Methods
Add(T)
public void Add(T t)
Parameters
t
T
Add(T[])
public void Add(T[] ts)
Parameters
ts
T[]
CreateNewElement()
protected override ConfigurationElement CreateNewElement()
Returns
- ConfigurationElement
CreateNewElement(string)
protected override ConfigurationElement CreateNewElement(string elementName)
Parameters
elementName
string
Returns
- ConfigurationElement
GetElementKey(ConfigurationElement)
protected override object GetElementKey(ConfigurationElement element)
Parameters
element
ConfigurationElement
Returns
IsElementName(string)
protected override bool IsElementName(string elementName)
Parameters
elementName
string
Returns
IsReadOnly()
public override bool IsReadOnly()
Returns
SerializeElement(XmlWriter, bool)
protected override bool SerializeElement(XmlWriter writer, bool serializeCollectionKey)
Parameters
writer
XmlWriterserializeCollectionKey
bool