[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Type Parameters

T

Functions as a key value for Maps where keys need to be composite values. The class allows a Map that uses MultiKeyUntyped entries for key values to use multiple objects as keys. It calculates the hashCode from the key objects on construction and caches the hashCode.

The following tables list the members exposed by the MultiKey<(Of T>) generic type.

Public Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Overrides .Equals(Object).)
GetHashCode
Serves as a hash function for a particular type.
(Overrides .GetHashCode().)
GetType (Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Overrides .ToString().)

Protected Methods

  NameDescription
Finalize (Inherited from Object.)
MemberwiseClone (Inherited from Object.)

Public Constructors

  NameDescription
MultiKey<(Of T>)New
Constructor for multiple keys supplied in an object array.

Public Properties

  NameDescription
Array
Returns the key value array.

Count
Returns the number of key objects.

Item
Returns the key object at the specified position.