Export (0) Print
Expand All

IHash<TKey, TValue> Members

.NET Framework 3.5

Defines the interface of the STL/CLR hash_map, hash_multimap, hash_set, and hash_multiset objects.

The IHash<TKey, TValue> type exposes the following members.

  NameDescription
Public method begin Designates the beginning of the controlled sequence.
Public method bucket_count Counts the number of buckets in the hash table.
Public method clear Removes all elements from the container.
Public method Clone Creates a new object that is a copy of the current instance. (Inherited from ICloneable.)
Public method CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.)
Public method count Finds the number of elements that match a specified key.
Public method empty Tests whether no elements are present in the container.
Public method end Designates the end of the controlled sequence.
Public method equal_range Finds the range that matches a specified key.
Public method erase Overloaded. Removes elements from the container.
Public method find Finds an element that matches a specified key.
Public method get_generation Gets the current change generation of the underlying container. (Inherited from IBidirectionalContainer<TValue>.)
Public method GetEnumerator Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method hash_delegate Returns the delegate that is used to convert a key value to an integer.
Public method insert Overloaded. Adds elements to the container.
Public method key_comp Returns the ordering delegate that is used to order the controlled sequence. You use it to compare two keys.
Public method load_factor Counts the average number of elements per bucket in the hash table.
Public method lower_bound Finds the beginning of the range of elements that match a specified key.
Public method max_load_factor Overloaded. Gets or sets the maximum number of elements per bucket in the hash table.
Public method rbegin Designates the beginning of the reversed controlled sequence.
Public method rehash Rebuilds the hash table.
Public method rend Designates the end of the reversed controlled sequence.
Public method size Counts the number of elements in the container.
Public method swap Swaps the contents of two containers.
Public method upper_bound Finds the end of the range of elements that match a specified key.
Public method value_comp Returns the ordering delegate that is used to order the controlled sequence.
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Count Gets the number of elements contained in the ICollection. (Inherited from ICollection.)
Public property IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection.)
Public property SyncRoot Gets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft