User Tools

Site Tools


thinkgeo.mapsuite.webedition.geokeyedcollection_t

ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection‹T›

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 –>

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodGeoKeyedCollection‹T› Initializes a new instance of the GeoKeyedCollection class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodAdd T Collection<T>
Public MethodClear Collection<T>
Public MethodContains T Collection<T>
Public MethodContains String KeyedCollection<String,T>
Public MethodCopyTo T[], Int32 Collection<T>
Public MethodEquals Object Object
Public MethodGetEnumerator Collection<T>
Public MethodGetHashCode Object
Public MethodGetKeys GeoKeyedCollection<T>
Public MethodGetType Object
Public MethodIndexOf T Collection<T>
Public MethodInsert Int32, T Collection<T>
Public MethodMoveDown Int32 GeoKeyedCollection<T>
Public MethodMoveDown String GeoKeyedCollection<T>
Public MethodMoveDown T GeoKeyedCollection<T>
Public MethodMoveTo T, Int32 GeoKeyedCollection<T>
Public MethodMoveTo String, Int32 GeoKeyedCollection<T>
Public MethodMoveTo Int32, Int32 GeoKeyedCollection<T>
Public MethodMoveToBottom T GeoKeyedCollection<T>
Public MethodMoveToBottom String GeoKeyedCollection<T>
Public MethodMoveToBottom Int32 GeoKeyedCollection<T>
Public MethodMoveToTop Int32 GeoKeyedCollection<T>
Public MethodMoveToTop T GeoKeyedCollection<T>
Public MethodMoveToTop String GeoKeyedCollection<T>
Public MethodMoveUp T GeoKeyedCollection<T>
Public MethodMoveUp String GeoKeyedCollection<T>
Public MethodMoveUp Int32 GeoKeyedCollection<T>
Public MethodRemove T Collection<T>
Public MethodRemove String KeyedCollection<String,T>
Public MethodRemoveAt Int32 Collection<T>
Public MethodToJson GeoKeyedCollection<T> Returns a JSON string that contains information about all of the items in the collection.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodChangeItemKey T, String KeyedCollection<String,T>
Protected MethodClearItems Collection<T>(overriden)
Protected MethodFinalize Object
Protected MethodGetKeyForItem T KeyedCollection<String,T>(overriden) When implemented in a derived class, extracts the key from the specified element.
Protected MethodInsertItem Int32, T Collection<T>(overriden)
Protected MethodMemberwiseClone Object
Protected MethodRemoveItem Int32 Collection<T>(overriden)
Protected MethodSetItem Int32, T Collection<T>(overriden)

Public Properties

Name Return DeclaringType Summary
Public PropertyComparer IEqualityComparer<String> KeyedCollection<String,T>
Public PropertyCount Int32 Collection<T>
Public PropertyItem T KeyedCollection<String,T>
Public PropertyItem T Collection<T>

Protected Properties

Name Return DeclaringType Summary
Protected PropertyDictionary IDictionary<String,T> KeyedCollection<String,T>
Protected PropertyItems IList<T> Collection<T>

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

GeoKeyedCollection‹T›()

Initializes a new instance of the GeoKeyedCollection class.

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

Add(T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item T<!– T –>

<!– Collection{T} –> Go Back

Clear()

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– Collection{T} –> Go Back

Contains(T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
item T<!– T –>

<!– Collection{T} –> Go Back

Contains(String)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
key String<!– System.String –>

<!– KeyedCollection{System.String,T} –> Go Back

CopyTo(T[], Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
array T[]<!– Tthinkgeo.mapsuite.webedition.geokeyedcollection_t –>
index Int32<!– System.Int32 –>

<!– Collection{T} –> Go Back

Equals(Object)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetEnumerator()

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
IEnumerator<T><!– IEnumerator{T} –>

Parameters

Name Type Description

<!– Collection{T} –> Go Back

GetHashCode()

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetKeys()

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

GetType()

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

IndexOf(T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description
item T<!– T –>

<!– Collection{T} –> Go Back

Insert(Int32, T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>
item T<!– T –>

<!– Collection{T} –> Go Back

MoveDown(Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveDown(String)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveDown(T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item T<!– T –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveTo(T, Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item T<!– T –>
toIndex Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveTo(String, Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>
toIndex Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveTo(Int32, Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
fromIndex Int32<!– System.Int32 –>
toIndex Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveToBottom(T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item T<!– T –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveToBottom(String)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveToBottom(Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveToTop(Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveToTop(T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item T<!– T –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveToTop(String)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveUp(T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item T<!– T –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveUp(String)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
key String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

MoveUp(Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

Remove(T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
item T<!– T –>

<!– Collection{T} –> Go Back

Remove(String)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
key String<!– System.String –>

<!– KeyedCollection{System.String,T} –> Go Back

RemoveAt(Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– Collection{T} –> Go Back

ToJson()

Returns a JSON string that contains information about all of the items in the collection.

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
String<!– System.String –> A string that contains information about all of the items in the collection.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{T} –> Go Back

ToString()

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

ChangeItemKey(T, String)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
item T<!– T –>
newKey String<!– System.String –>

<!– KeyedCollection{System.String,T} –> Go Back

ClearItems()

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– Collection{T}(overriden) –> Go Back

Finalize()

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetKeyForItem(T)

When implemented in a derived class, extracts the key from the specified element.

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
String<!– System.String –> The key for the specified element.

Parameters

Name Type Description
item T<!– T –> The element from which to extract the key.

<!– KeyedCollection{System.String,T}(overriden) –> Go Back

InsertItem(Int32, T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>
item T<!– T –>

<!– Collection{T}(overriden) –> Go Back

MemberwiseClone()

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

RemoveItem(Int32)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>

<!– Collection{T}(overriden) –> Go Back

SetItem(Int32, T)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
index Int32<!– System.Int32 –>
item T<!– T –>

<!– Collection{T}(overriden) –> Go Back

Public Properties

Comparer

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type
IEqualityComparer<String><!– System.Collections.Generic.IEqualityComparer{System.String} –>

<!– KeyedCollection{System.String,T} –> Go Back

Count

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type
Int32<!– System.Int32 –>

<!– Collection{T} –> Go Back

Item

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type
T<!– T –>

<!– KeyedCollection{System.String,T} –> Go Back

Item

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type
T<!– T –>

<!– Collection{T} –> Go Back

Protected Properties

Dictionary

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type
IDictionary<String,T><!– IDictionary{System.String,T} –>

<!– KeyedCollection{System.String,T} –> Go Back

Items

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type
IList<T><!– IList{T} –>

<!– Collection{T} –> Go Back

Public Events

thinkgeo.mapsuite.webedition.geokeyedcollection_t.txt · Last modified: 2017/03/16 21:59 (external edit)