Click or drag to resize

KeyedList Class

Represents a collection of key/value pairs that are organized based on the index of the key
Inheritance Hierarchy
SystemObject
  WorkflowGen.My.CollectionsKeyedList

Namespace:  WorkflowGen.My.Collections
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
public class KeyedList : ICollection, IEnumerable, 
	IDictionary, IXmlSerializable

The KeyedList type exposes the following members.

Constructors
  NameDescription
Public methodKeyedList
Creates a new instance of the KeyedList class
Public methodKeyedList(IDictionary)
Creates a new instance of the KeyedList class from a IDictionary object
Top
Properties
  NameDescription
Public propertyCount
Gets the number of key/value pairs contained in the collection
Public propertyIsFixedSize
Gets a value indicating whether the collection has a fixed size.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyIsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread safe).
Public propertyItemInt32
Gets or sets the value associated with the specified index
Public propertyItemObject
Gets or sets the value associated with the specified key
Public propertyKeys
List of keys
Public propertySyncRoot
Gets an object that can be used to synchronize access to the collection
Public propertyValues
List of values
Top
Methods
  NameDescription
Public methodAdd(DictionaryEntry)
Adds an element with the specified key and value into the collection
Public methodAdd(KeyValuePairObject, Object)
Adds an element with the specified key and value into the collection
Public methodAdd(Object, Object)
Adds an element with the specified key and value into the collection
Public methodClear
Removes all elements from the collection
Public methodContains
Determines whether the collection contains a specific key
Public methodContainsValue
Determines whether the collection contains a specific value
Public methodCopyTo
Copies the collection values to a one-dimensional array instance at the specified index.
Public methodGetSchema
Returns the XML schema used when serializing the object
Public methodIndexOf
Gets a zero-based index of the object identified by the specified key
Public methodInsert
Insert an element with the specified key and value into the collection at the given position
Public methodReadXml
Generates a KeyedList from its XML representation
Public methodRemove
Removes the element with the specified key from the collection
Public methodRemoveAt
Removes the element with the specified key from the collection
Public methodReplace
Replace an element with the specified key and value into the collection at the given position
Public methodSort
Sorts the items of this collection according the given rule
Public methodWriteXml
Converts a KeyedList into its XML representation
Top
See Also