[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Collection to hold indexed data. Each key maps to multiple values.
Objects can be added to keys. The key class should override the equals and hashCode methods.
Same value objects can be added twice to the collection - the collection does not enforce set behavior.
The following tables list the members exposed by the IndexedDataCollection type.
Public Methods
Name | Description | |
---|---|---|
![]() | Add | Add a value object to the index. If the value object already exists for the same key,
no error is thrown and the object is still added (no set behavior).
|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Remove | Removes a value object from the index, returning a boolean value to indicate if the value object was found. |
![]() | ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Constructors
Name | Description | |
---|---|---|
![]() | IndexedDataCollectionNew |
Public Properties
Name | Description | |
---|---|---|
![]() | Item | Returns a list of value objects for the given key, or null if there are no value objects for this key. |