Click or drag to resize
Accord.NET (logo)

ReadOnlyKeyedCollectionTKey, TValue Methods

The ReadOnlyKeyedCollectionTKey, TValue generic type exposes the following members.

Methods
  NameDescription
Public methodAdd(KeyValuePairTKey, TValue)
This method is not supported, as this is a read-only collection.
Public methodAdd(KeyValuePairTValue, TKey)
This method is not supported, as this is a read-only collection.
Public methodAdd(TKey, TValue)
This method is not supported, as this is a read-only collection.
Public methodClear
Not supported.
Public methodContains(T)
Determines whether an element is in the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionTValue.)
Public methodContains(KeyValuePairTKey, TValue)
Determines whether the ICollectionT contains a specific value.
Public methodContainsKey
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
Public methodCopyTo(T, Int32)
Copies the entire ReadOnlyCollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from ReadOnlyCollectionTValue.)
Public methodCopyTo(KeyValuePairTKey, TValue, Int32)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionTValue.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetKeyForItem
When implemented in a derived class, extracts the key from the specified element.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionTValue.)
Public methodInsert
This method is not supported, as this is a read-only collection.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(KeyValuePairTKey, TValue)
This method is not supported, as this is a read-only collection.
Public methodRemove(TKey)
This method is not supported, as this is a read-only collection.
Public methodRemoveAt
This method is not supported, as this is a read-only collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
Top
Extension Methods
  NameDescription
Public Extension MethodApplyTValue, TResult(FuncTValue, TResult)Overloaded.
Applies a function to every element of the array.
(Defined by Matrix.)
Public Extension MethodApplyTValue, TResult(FuncTValue, TResult, TResult)Overloaded.
Applies a function to every element of the array.
(Defined by Matrix.)
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodSetEqualsKeyValuePairTKey, TValue(IEnumerableKeyValuePairTKey, TValue)Overloaded.
Compares two enumerables for set equality. Two enumerables are set equal if they contain the same elements, but not necessarily in the same order.
(Defined by Matrix.)
Public Extension MethodSetEqualsTValue(IEnumerableTValue)Overloaded. (Defined by Matrix.)
Public Extension MethodShuffleTValue
Shuffles a collection.
(Defined by Vector.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also