Click or drag to resize

OrderedKeyValuePairsTKey, TValue Class

This is preliminary documentation and is subject to change.

A sequence of ordered key-value pairs. The keys can duplicate with each other.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionKeyValuePairTKey, TValue
    WikiClientLibrary.InfrastructuresOrderedKeyValuePairsTKey, TValue

Namespace: WikiClientLibrary.Infrastructures
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public class OrderedKeyValuePairs<TKey, TValue> : Collection<KeyValuePair<TKey, TValue>>

Type Parameters

TKey

[Missing <typeparam name="TKey"/> documentation for "T:WikiClientLibrary.Infrastructures.OrderedKeyValuePairs`2"]

TValue

[Missing <typeparam name="TValue"/> documentation for "T:WikiClientLibrary.Infrastructures.OrderedKeyValuePairs`2"]

The OrderedKeyValuePairsTKey, TValue type exposes the following members.

Constructors
 NameDescription
Public methodOrderedKeyValuePairsTKey, TValueInitializes a new instance of the OrderedKeyValuePairsTKey, TValue class
Public methodOrderedKeyValuePairsTKey, TValue(IEqualityComparerTKey)Initializes a new instance of the OrderedKeyValuePairsTKey, TValue class
Top
Properties
 NameDescription
Public propertyCountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public propertyItemInt32Gets or sets the element at the specified index.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public propertyItemTKey 
Protected propertyItemsGets a IListT wrapper around the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public propertyKeyComparer 
Top
Methods
 NameDescription
Public methodAdd(T)Adds an object to the end of the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public methodAdd(TKey, TValue) 
Public methodAddRange 
Public methodClearRemoves all elements from the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Protected methodClearItemsRemoves all elements from the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public methodContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public methodCopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public methodInsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionKeyValuePairTKey, TValue)
Protected methodInsertItemInserts an element into the CollectionT at the specified index.
(Inherited from CollectionKeyValuePairTKey, TValue)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public methodRemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Protected methodRemoveItemRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionKeyValuePairTKey, TValue)
Protected methodSetItemReplaces the element at the specified index.
(Inherited from CollectionKeyValuePairTKey, TValue)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Explicit Interface Implementations
 NameDescription
Explicit interface implementationPrivate methodIListAddAdds an item to the IList.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate methodIListContainsDetermines whether the IList contains a specific value.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate methodICollectionCopyToCopies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate methodIListIndexOfDetermines the index of a specific item in the IList.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate methodIListInsertInserts an item into the IList at the specified index.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate propertyIListIsFixedSizeGets a value indicating whether the IList has a fixed size.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate propertyICollectionTIsReadOnlyGets a value indicating whether the ICollectionT is read-only.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate propertyIListIsReadOnlyGets a value indicating whether the IList is read-only.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate propertyICollectionIsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate propertyIListItemGets or sets the element at the specified index.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate methodIListRemoveRemoves the first occurrence of a specific object from the IList.
(Inherited from CollectionKeyValuePairTKey, TValue)
Explicit interface implementationPrivate propertyICollectionSyncRootGets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionKeyValuePairTKey, TValue)
Top
See Also