Table of Contents

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

string

ItemPropertyName

protected abstract string ItemPropertyName { get; }

Property Value

string

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

object

IsElementName(string)

protected override bool IsElementName(string elementName)

Parameters

elementName string

Returns

bool

IsReadOnly()

public override bool IsReadOnly()

Returns

bool

SerializeElement(XmlWriter, bool)

protected override bool SerializeElement(XmlWriter writer, bool serializeCollectionKey)

Parameters

writer XmlWriter
serializeCollectionKey bool

Returns

bool