ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
<!– Class –> Represents a strong-typed collection that can be accessed by index or by the identifier of an item.
The GeoKeyedCollection class is a hybrid between a collection based on the IList generic interface and a collection based on the IDictionary generic interface. Like collections based on the IList generic interface, KeyedCollection is an indexed list of items. Like collections based on the IDictionary generic interface, KeyedCollection has a key associated with each element.
The types that can be added to the GeoKeyedCollection must implement the IRequireId interface, which forces these types to have an Id property. Thus, we can get the item by identifier from the GeoKeyedCollection. The identifier must be unique and cannot be empty.
*System.Object **ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection‹T›
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
GeoKeyedCollection‹T› | Initializes a new instance of the GeoKeyedCollection class. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
Add | T | Collection<T> | |
Clear | Collection<T> | ||
Contains | String | KeyedCollection<String,T> | |
Contains | T | Collection<T> | |
CopyTo | T[], Int32 | Collection<T> | |
Equals | Object | Object | |
FromJson | String | GeoKeyedCollection<T> | Load this object from a json string. |
GetEnumerator | Collection<T> | ||
GetHashCode | Object | ||
GetType | Object | ||
IndexOf | T | Collection<T> | |
Insert | Int32, T | Collection<T> | |
Remove | T | Collection<T> | |
Remove | String | KeyedCollection<String,T> | |
RemoveAt | Int32 | Collection<T> | |
ToJson | GeoKeyedCollection<T> | Returns a JSON string that contains information about all of the items in the collection. | |
ToString | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
ChangeItemKey | T, String | KeyedCollection<String,T> | |
ClearItems | Collection<T>(overriden) | ||
Finalize | Object | ||
GetKeyForItem | T | KeyedCollection<String,T>(overriden) | When implemented in a derived class, extracts the key from the specified element. |
InsertItem | Int32, T | Collection<T>(overriden) | |
MemberwiseClone | Object | ||
RemoveItem | Int32 | Collection<T>(overriden) | |
SetItem | Int32, T | Collection<T>(overriden) |
Name | Return | DeclaringType | Summary |
---|---|---|---|
Dictionary | IDictionary<String,T> | KeyedCollection<String,T> | |
Items | IList<T> | Collection<T> |
Name | Event Arguments | DeclaringType | Summary |
---|
Initializes a new instance of the GeoKeyedCollection class.
Name | Type | Description |
---|
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
item | T<!– T –> |
<!– Collection{T} –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– Collection{T} –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
key | String<!– System.String –> |
<!– KeyedCollection{System.String,T} –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
item | T<!– T –> |
<!– Collection{T} –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
array | T[]<!– Tthinkgeo.mapsuite.mvcedition.geokeyedcollection_t –> | |
index | Int32<!– System.Int32 –> |
<!– Collection{T} –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Load this object from a json string.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
jsonString | String<!– System.String –> | a json string |
<!– ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{T} –> Go Back
Return Type | Description |
---|---|
IEnumerator<T><!– IEnumerator{T} –> |
Name | Type | Description |
---|
<!– Collection{T} –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|---|---|
item | T<!– T –> |
<!– Collection{T} –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
index | Int32<!– System.Int32 –> | |
item | T<!– T –> |
<!– Collection{T} –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
item | T<!– T –> |
<!– Collection{T} –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
key | String<!– System.String –> |
<!– KeyedCollection{System.String,T} –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
index | Int32<!– System.Int32 –> |
<!– Collection{T} –> Go Back
Returns a JSON string that contains information about all of the items in the collection.
Return Type | Description |
---|---|
String<!– System.String –> | A string that contains information about all of the items in the collection. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{T} –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
item | T<!– T –> | |
newKey | String<!– System.String –> |
<!– KeyedCollection{System.String,T} –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– Collection{T}(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
When implemented in a derived class, extracts the key from the specified element.
Return Type | Description |
---|---|
String<!– System.String –> | The key for the specified element. |
Name | Type | Description |
---|---|---|
item | T<!– T –> | The element from which to extract the key. |
<!– KeyedCollection{System.String,T}(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
index | Int32<!– System.Int32 –> | |
item | T<!– T –> |
<!– Collection{T}(overriden) –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
index | Int32<!– System.Int32 –> |
<!– Collection{T}(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
index | Int32<!– System.Int32 –> | |
item | T<!– T –> |
<!– Collection{T}(overriden) –> Go Back
Return Type |
---|
IEqualityComparer<String><!– System.Collections.Generic.IEqualityComparer{System.String} –> |
<!– KeyedCollection{System.String,T} –> Go Back
Return Type |
---|
Int32<!– System.Int32 –> |
<!– Collection{T} –> Go Back
Return Type |
---|
T<!– T –> |
<!– KeyedCollection{System.String,T} –> Go Back
Return Type |
---|
T<!– T –> |
<!– Collection{T} –> Go Back
Return Type |
---|
IDictionary<String,T><!– IDictionary{System.String,T} –> |
<!– KeyedCollection{System.String,T} –> Go Back
Return Type |
---|
IList<T><!– IList{T} –> |
<!– Collection{T} –> Go Back