====== ThinkGeo.MapSuite.SilverlightCore.GeoCollection ====== {{section>upgrade_map_suite_to_10.0}} This class is a collection with some methods specialized for dealing with Layers and other spatial classes. ===== Inheritance Hierarchy ===== *System.Object *System.Collections.ObjectModel.Collection ***ThinkGeo.MapSuite.SilverlightCore.GeoCollection** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} GeoCollection`1() ** This is the default constructor for the class. == Remarks == None == Parameters ==
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} GetKeys() ** This method returns a collection of the keys in the collection. == Remarks == None == Return Value == * Type:Collection * Description:This method returns a collection of the keys in the collection. == Parameters ==
** {{wiki:PublicMethod.gif|}} Add(String,T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //key// * Type:String * Description:N/A * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} Add(T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} Insert(Int32,T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //index// * Type:Int32 * Description:N/A * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} Insert(Int32,String,T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //index// * Type:Int32 * Description:N/A * //key// * Type:String * Description:N/A * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} Remove(String) ** This method removes an item from the collection based on the specified key. == Remarks == None == Return Value == * Type:Void * Description:None == Parameters == * //key// * Type:String * Description:This parameter is the key of the item you want to remove.
** {{wiki:PublicMethod.gif|}} MoveUp(Int32) ** This method moves an item up in the collection. == Remarks == None == Return Value == * Type:Void * Description:None == Parameters == * //index// * Type:Int32 * Description:This parameter is the index of the item in the collection.
** {{wiki:PublicMethod.gif|}} MoveUp(String) ** This method moves an item up in the collection. == Remarks == None == Return Value == * Type:Void * Description:None == Parameters == * //key// * Type:String * Description:This parameter is the key of the item in the collection.
** {{wiki:PublicMethod.gif|}} MoveUp(T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} MoveDown(Int32) ** This method moves an item down in the collection. == Remarks == None == Return Value == * Type:Void * Description:None == Parameters == * //index// * Type:Int32 * Description:This parameter is the index of the item in the collection.
** {{wiki:PublicMethod.gif|}} MoveDown(String) ** This method moves an item down in the collection. == Remarks == None == Return Value == * Type:Void * Description:None == Parameters == * //key// * Type:String * Description:This parameter is the key of the item in the dictionary.
** {{wiki:PublicMethod.gif|}} MoveDown(T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} MoveToTop(Int32) ** This method moves the item at the specified index to the top of the collection. == Remarks == This method moves the item at the specified index to the top of the collection. == Return Value == * Type:Void * Description:None == Parameters == * //index// * Type:Int32 * Description:This parameter is the index of the item you want move to the top of the collection.
** {{wiki:PublicMethod.gif|}} MoveToTop(String) ** This method moves the item with the specified key to the top of the collection. == Remarks == This method moves the item with the specified key to the top of the collection. == Return Value == * Type:Void * Description:None == Parameters == * //key// * Type:String * Description:This parameter is the key of the item you want move to the top of the collection.
** {{wiki:PublicMethod.gif|}} MoveToTop(T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} MoveToBottom(Int32) ** This method moves the item at the specified index to the bottom of the collection. == Remarks == This method moves the item at the specified index to the bottom of the collection. == Return Value == * Type:Void * Description:None == Parameters == * //index// * Type:Int32 * Description:This parameter is the index of the item you want move to the bottom of the collection.
** {{wiki:PublicMethod.gif|}} MoveToBottom(String) ** This method moves the item with the specified key to the bottom of the collection. == Remarks == This method moves the item with the specified key to the bottom of the collection. == Return Value == * Type:Void * Description:None == Parameters == * //key// * Type:String * Description:This parameter is the key of the item you want move to the bottom of the collection.
** {{wiki:PublicMethod.gif|}} MoveToBottom(T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} MoveTo(Int32,Int32) ** This method moves the item at fromIndex to the location of toIndex in the collection. == Remarks == This method moves the item at fromIndex to the location of toIndex in the collection. == Return Value == * Type:Void * Description:None == Parameters == * //fromIndex// * Type:Int32 * Description:This parameter is the index of the item you want move from in the collection. * //toIndex// * Type:Int32 * Description:This parameter is the target index that you want to move the item to in the collection.
** {{wiki:PublicMethod.gif|}} MoveTo(String,Int32) ** This method moves the item with the key you specified to the location of toIndex in the collection. == Remarks == This method moves the item with the key you specified to the location of toIndex in the collection. == Return Value == * Type:Void * Description:None == Parameters == * //key// * Type:String * Description:This parameter is the key of item you want to move in the collection. * //toIndex// * Type:Int32 * Description:This parameter is the target index that you want to move the item to in the collection.
** {{wiki:PublicMethod.gif|}} MoveTo(T,Int32) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //item// * Type:T * Description:N/A * //toIndex// * Type:Int32 * Description:N/A
** {{wiki:PublicMethod.gif|}} Contains(String) ** This method returns whether an item is in the collection based on the specified key. == Remarks == None == Return Value == * Type:Boolean * Description:This method returns whether an item is in the collection based on the specified key. == Parameters == * //key// * Type:String * Description:This parameter is the key of the item you are searching for.
** {{wiki:PublicMethod.gif|}} Add(T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} Clear() ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} CopyTo(T[],Int32) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //array// * Type:T[] * Description:N/A * //index// * Type:Int32 * Description:N/A
** {{wiki:PublicMethod.gif|}} Contains(T) ** N/A == Remarks == N/A == Return Value == * Type:Boolean * Description:N/A == Parameters == * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} GetEnumerator() ** N/A == Remarks == N/A == Return Value == * Type:IEnumerator * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} IndexOf(T) ** N/A == Remarks == N/A == Return Value == * Type:Int32 * Description:N/A == Parameters == * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} Insert(Int32,T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //index// * Type:Int32 * Description:N/A * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} Remove(T) ** N/A == Remarks == N/A == Return Value == * Type:Boolean * Description:N/A == Parameters == * //item// * Type:T * Description:N/A
** {{wiki:PublicMethod.gif|}} RemoveAt(Int32) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //index// * Type:Int32 * Description:N/A
** {{wiki:PublicMethod.gif|}} ToString() ** N/A == Remarks == N/A == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** N/A == Remarks == N/A == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** N/A == Remarks == N/A == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** N/A == Remarks == N/A == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} OnInserting(InsertingGeoCollectionEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightCore.InsertingGeoCollectionEventArgs|InsertingGeoCollectionEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnInserted(InsertedGeoCollectionEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightCore.InsertedGeoCollectionEventArgs|InsertedGeoCollectionEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnRemoving(RemovingGeoCollectionEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightCore.RemovingGeoCollectionEventArgs|RemovingGeoCollectionEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnRemoved(RemovedGeoCollectionEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightCore.RemovedGeoCollectionEventArgs|RemovedGeoCollectionEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnAdding(AddingGeoCollectionEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightCore.AddingGeoCollectionEventArgs|AddingGeoCollectionEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnAdded(AddedGeoCollectionEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightCore.AddedGeoCollectionEventArgs|AddedGeoCollectionEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnClearingItems(ClearingItemsGeoCollectionEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightCore.ClearingItemsGeoCollectionEventArgs|ClearingItemsGeoCollectionEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnClearedItems(ClearedItemsGeoCollectionEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightCore.ClearedItemsGeoCollectionEventArgs|ClearedItemsGeoCollectionEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} InsertItem(Int32,T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //index// * Type:Int32 * Description:N/A * //item// * Type:T * Description:N/A
** {{wiki:ProtectedMethod.gif|}} RemoveItem(Int32) ** This method removes an item from the collection based on the specified index. == Remarks == None == Return Value == * Type:Void * Description:None == Parameters == * //index// * Type:Int32 * Description:This parameter is the index of the item you want to remove.
** {{wiki:ProtectedMethod.gif|}} ClearItems() ** This method clears the items from the collection. == Remarks == None == Return Value == * Type:Void * Description:None == Parameters ==
** {{wiki:ProtectedMethod.gif|}} SetItem(Int32,T) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //index// * Type:Int32 * Description:N/A * //item// * Type:T * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnCollectionChanged(NotifyCollectionChangedEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:NotifyCollectionChangedEventArgs * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnPropertyChanged(PropertyChangedEventArgs) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:PropertyChangedEventArgs * Description:N/A
** {{wiki:ProtectedMethod.gif|}} Finalize() ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** N/A == Remarks == N/A == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} Item ** N/A == Remarks == N/A == Return Value == * Type:T ** {{wiki:PublicProperty.gif|}} Count ** N/A == Remarks == N/A == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} Item ** N/A == Remarks == N/A == Return Value == * Type:T ==== Protected Properties ==== ** {{wiki:ProtectedProperty.gif|}} Items ** N/A == Remarks == N/A == Return Value == * Type:IList ==== Public Events ==== ** {{wiki:PublicEvent.gif|}} Inserting ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightCore.InsertingGeoCollectionEventArgs|InsertingGeoCollectionEventArgs]] ** {{wiki:PublicEvent.gif|}} Inserted ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightCore.InsertedGeoCollectionEventArgs|InsertedGeoCollectionEventArgs]] ** {{wiki:PublicEvent.gif|}} Removing ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightCore.RemovingGeoCollectionEventArgs|RemovingGeoCollectionEventArgs]] ** {{wiki:PublicEvent.gif|}} Removed ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightCore.RemovedGeoCollectionEventArgs|RemovedGeoCollectionEventArgs]] ** {{wiki:PublicEvent.gif|}} Adding ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightCore.AddingGeoCollectionEventArgs|AddingGeoCollectionEventArgs]] ** {{wiki:PublicEvent.gif|}} Added ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightCore.AddedGeoCollectionEventArgs|AddedGeoCollectionEventArgs]] ** {{wiki:PublicEvent.gif|}} ClearingItems ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightCore.ClearingItemsGeoCollectionEventArgs|ClearingItemsGeoCollectionEventArgs]] ** {{wiki:PublicEvent.gif|}} ClearedItems ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightCore.ClearedItemsGeoCollectionEventArgs|ClearedItemsGeoCollectionEventArgs]] ** {{wiki:PublicEvent.gif|}} CollectionChanged ** N/A == Remarks == N/A Event Arguments: ** {{wiki:PublicEvent.gif|}} PropertyChanged ** N/A == Remarks == N/A Event Arguments: