====== ThinkGeo.MapSuite.Core.GeoCollection‹T› ====== {{section>upgrade_map_suite_to_10.0}} This class is a collection with some methods specialized for dealing with Layers and other spatial classes. === Remarks === We have added some helpful methods like MoveUp, MoveDown, etc. These help when you are manipulating Layers. ===== Inheritance Hierarchy ===== *System.Object **[[ThinkGeo.MapSuite.Core.GeoCollection‹T›]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#GeoCollection‹T›()|GeoCollection‹T›]] | | | This is the default constructor for the class. | ==== Protected Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ ==== Public Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#Add(String, T)|Add]] | String, T | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method adds an item to the collection by specifying the item and a key. | | {{wiki:PublicMethod.gif|Public Method}}[[#Add(T)|Add]] | T | Collection | This method adds an item to the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#Add(T)|Add]] | T | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method adds an item to the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#Clear()|Clear]] | | Collection | | | {{wiki:PublicMethod.gif|Public Method}}[[#Contains(T)|Contains]] | T | Collection | | | {{wiki:PublicMethod.gif|Public Method}}[[#Contains(String)|Contains]] | String | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method returns whether an item is in the collection based on the specified key. | | {{wiki:PublicMethod.gif|Public Method}}[[#CopyTo(T[], Int32)|CopyTo]] | T[], Int32 | Collection | | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetEnumerator()|GetEnumerator]] | | Collection | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetKeys()|GetKeys]] | | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method returns a collection of the keys in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#IndexOf(T)|IndexOf]] | T | Collection | | | {{wiki:PublicMethod.gif|Public Method}}[[#Insert(Int32, T)|Insert]] | Int32, T | Collection | Inserts an element into the System.Collections.ObjectModel.Collection at the specified index. | | {{wiki:PublicMethod.gif|Public Method}}[[#Insert(Int32, T)|Insert]] | Int32, T | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | Inserts an element into the System.Collections.ObjectModel.Collection at the specified index. | | {{wiki:PublicMethod.gif|Public Method}}[[#Insert(Int32, String, T)|Insert]] | Int32, String, T | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | Inserts an element into the System.Collections.ObjectModel.Collection at the specified index and key. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveDown(String)|MoveDown]] | String | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves an item down in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveDown(T)|MoveDown]] | T | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves an item down in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveDown(Int32)|MoveDown]] | Int32 | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves an item down in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveTo(T, Int32)|MoveTo]] | T, Int32 | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves the item you specified to the location of toIndex in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveTo(String, Int32)|MoveTo]] | String, Int32 | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves the item with the key you specified to the location of toIndex in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveTo(Int32, Int32)|MoveTo]] | Int32, Int32 | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves the item at fromIndex to the location of toIndex in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveToBottom(T)|MoveToBottom]] | T | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves the item specified key to the bottom of the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveToBottom(Int32)|MoveToBottom]] | Int32 | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves the item at the specified index to the bottom of the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveToBottom(String)|MoveToBottom]] | String | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves the item with the specified key to the bottom of the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveToTop(T)|MoveToTop]] | T | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves the item specified to the top of the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveToTop(String)|MoveToTop]] | String | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves the item with the specified key to the top of the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveToTop(Int32)|MoveToTop]] | Int32 | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves the item at the specified index to the top of the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveUp(T)|MoveUp]] | T | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves an item up in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveUp(String)|MoveUp]] | String | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves an item up in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#MoveUp(Int32)|MoveUp]] | Int32 | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method moves an item up in the collection. | | {{wiki:PublicMethod.gif|Public Method}}[[#Remove(String)|Remove]] | String | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | This method removes an item from the collection based on the specified key. | | {{wiki:PublicMethod.gif|Public Method}}[[#Remove(T)|Remove]] | T | Collection | | | {{wiki:PublicMethod.gif|Public Method}}[[#RemoveAt(Int32)|RemoveAt]] | Int32 | Collection | | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | ==== Protected Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#ClearItems()|ClearItems]] | | Collection(overriden) | This method clears the items from the collection. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#InsertItem(Int32, T)|InsertItem]] | Int32, T | Collection(overriden) | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnAdded(AddedGeoCollectionEventArgs)|OnAdded]] | [[ThinkGeo.MapSuite.Core.AddedGeoCollectionEventArgs|AddedGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnAdding(AddingGeoCollectionEventArgs)|OnAdding]] | [[ThinkGeo.MapSuite.Core.AddingGeoCollectionEventArgs|AddingGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnClearedItems(ClearedItemsGeoCollectionEventArgs)|OnClearedItems]] | [[ThinkGeo.MapSuite.Core.ClearedItemsGeoCollectionEventArgs|ClearedItemsGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnClearingItems(ClearingItemsGeoCollectionEventArgs)|OnClearingItems]] | [[ThinkGeo.MapSuite.Core.ClearingItemsGeoCollectionEventArgs|ClearingItemsGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnCollectionChanged(NotifyCollectionChangedEventArgs)|OnCollectionChanged]] | NotifyCollectionChangedEventArgs | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnInserted(InsertedGeoCollectionEventArgs)|OnInserted]] | [[ThinkGeo.MapSuite.Core.InsertedGeoCollectionEventArgs|InsertedGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnInserting(InsertingGeoCollectionEventArgs)|OnInserting]] | [[ThinkGeo.MapSuite.Core.InsertingGeoCollectionEventArgs|InsertingGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnPropertyChanged(PropertyChangedEventArgs)|OnPropertyChanged]] | PropertyChangedEventArgs | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnRemoved(RemovedGeoCollectionEventArgs)|OnRemoved]] | [[ThinkGeo.MapSuite.Core.RemovedGeoCollectionEventArgs|RemovedGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnRemoving(RemovingGeoCollectionEventArgs)|OnRemoving]] | [[ThinkGeo.MapSuite.Core.RemovingGeoCollectionEventArgs|RemovingGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#RemoveItem(Int32)|RemoveItem]] | Int32 | Collection(overriden) | This method removes an item from the collection based on the specified index. | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#SetItem(Int32, T)|SetItem]] | Int32, T | Collection(overriden) | This method allows you to set an item based on the index. | ==== Public Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:PublicProperty.gif|Public Property}}[[#Count|Count]] | Int32 | Collection | | | {{wiki:PublicProperty.gif|Public Property}}[[#Item|Item]] | T | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicProperty.gif|Public Property}}[[#Item|Item]] | T | Collection | | ==== Protected Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedProperty.gif|Protected Property}}[[#Items|Items]] | IList | Collection | | ==== Public Events ==== ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | {{wiki:PublicEvent.gif|Public Event}}[[#Added|Added]] | [[ThinkGeo.MapSuite.Core.AddedGeoCollectionEventArgs|AddedGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicEvent.gif|Public Event}}[[#Adding|Adding]] | [[ThinkGeo.MapSuite.Core.AddingGeoCollectionEventArgs|AddingGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicEvent.gif|Public Event}}[[#ClearedItems|ClearedItems]] | [[ThinkGeo.MapSuite.Core.ClearedItemsGeoCollectionEventArgs|ClearedItemsGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicEvent.gif|Public Event}}[[#ClearingItems|ClearingItems]] | [[ThinkGeo.MapSuite.Core.ClearingItemsGeoCollectionEventArgs|ClearingItemsGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicEvent.gif|Public Event}}[[#CollectionChanged|CollectionChanged]] | NotifyCollectionChangedEventArgs | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicEvent.gif|Public Event}}[[#Inserted|Inserted]] | [[ThinkGeo.MapSuite.Core.InsertedGeoCollectionEventArgs|InsertedGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicEvent.gif|Public Event}}[[#Inserting|Inserting]] | [[ThinkGeo.MapSuite.Core.InsertingGeoCollectionEventArgs|InsertingGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicEvent.gif|Public Event}}[[#PropertyChanged|PropertyChanged]] | PropertyChangedEventArgs | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicEvent.gif|Public Event}}[[#Removed|Removed]] | [[ThinkGeo.MapSuite.Core.RemovedGeoCollectionEventArgs|RemovedGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | | {{wiki:PublicEvent.gif|Public Event}}[[#Removing|Removing]] | [[ThinkGeo.MapSuite.Core.RemovingGeoCollectionEventArgs|RemovingGeoCollectionEventArgs]] | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]] | | ===== Public Constructors ===== ==== GeoCollection‹T›() ==== This is the default constructor for the class. === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Constructors|Go Back]] ===== Protected Constructors ===== ===== Public Methods ===== ==== Add(String, T) ==== This method adds an item to the collection by specifying the item and a key. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | key | String | This parameter is the key to find the item. | | item | T | This parameter is the item you want added to the collection. | [[#Public Methods|Go Back]] ==== Add(T) ==== This method adds an item to the collection. === Remarks === This method adds an item to the collection, and the item's key will be a random GUID. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | This parameter is the item you want added to the collection. | [[#Public Methods|Go Back]] ==== Add(T) ==== This method adds an item to the collection. === Remarks === This method adds an item to the collection, and the item's key will be a random GUID. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | This parameter is the item you want added to the collection. | [[#Public Methods|Go Back]] ==== Clear() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== Contains(T) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | | [[#Public Methods|Go Back]] ==== Contains(String) ==== This method returns whether an item is in the collection based on the specified key. === Return Value === ^ Return Type ^ Description ^ | Boolean | This method returns whether an item is in the collection based on the specified key. | === Parameters === ^ Name ^ Type ^ Description ^ | key | String | This parameter is the key of the item you are searching for. | [[#Public Methods|Go Back]] ==== CopyTo(T[], Int32) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | array | T[] | | | index | Int32 | | [[#Public Methods|Go Back]] ==== Equals(Object) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | obj | Object | | [[#Public Methods|Go Back]] ==== GetEnumerator() ==== === Return Value === ^ Return Type ^ Description ^ | IEnumerator | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetHashCode() ==== === Return Value === ^ Return Type ^ Description ^ | Int32 | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetKeys() ==== This method returns a collection of the keys in the collection. === Return Value === ^ Return Type ^ Description ^ | Collection | This method returns a collection of the keys in the collection. | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetType() ==== === Return Value === ^ Return Type ^ Description ^ | Type | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== IndexOf(T) ==== === Return Value === ^ Return Type ^ Description ^ | Int32 | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | | [[#Public Methods|Go Back]] ==== Insert(Int32, T) ==== Inserts an element into the System.Collections.ObjectModel.Collection at the specified index. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | The zero-based index at which item should be inserted. | | item | T | The object to insert. The value can be null for reference types. | [[#Public Methods|Go Back]] ==== Insert(Int32, T) ==== Inserts an element into the System.Collections.ObjectModel.Collection at the specified index. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | The zero-based index at which item should be inserted. | | item | T | The object to insert. The value can be null for reference types. | [[#Public Methods|Go Back]] ==== Insert(Int32, String, T) ==== Inserts an element into the System.Collections.ObjectModel.Collection at the specified index and key. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | The zero-based index at which item should be inserted. | | key | String | The key to find the item. | | item | T | The object to insert. The value can be null for reference types. | [[#Public Methods|Go Back]] ==== MoveDown(String) ==== This method moves an item down in the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | key | String | This parameter is the key of the item in the dictionary. | [[#Public Methods|Go Back]] ==== MoveDown(T) ==== This method moves an item down in the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | This parameter is the item you want to move down in the dictionary. | [[#Public Methods|Go Back]] ==== MoveDown(Int32) ==== This method moves an item down in the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | This parameter is the index of the item in the collection. | [[#Public Methods|Go Back]] ==== MoveTo(T, Int32) ==== This method moves the item you specified to the location of toIndex in the collection. === Remarks === This method moves the item you specified to the location of toIndex in the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | This parameter is the item you want to move in the collection. | | toIndex | Int32 | This parameter is the target index that you want to move the item to in the collection. | [[#Public Methods|Go Back]] ==== 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 === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | key | String | This parameter is the key of item you want to move in the collection. | | toIndex | Int32 | This parameter is the target index that you want to move the item to in the collection. | [[#Public Methods|Go Back]] ==== 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 === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | fromIndex | Int32 | This parameter is the index of the item you want move from in the collection. | | toIndex | Int32 | This parameter is the target index that you want to move the item to in the collection. | [[#Public Methods|Go Back]] ==== MoveToBottom(T) ==== This method moves the item specified key to the bottom of the collection. === Remarks === This method moves the item specified key to the bottom of the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | This parameter is the item you want move to the bottom of the collection. | [[#Public Methods|Go Back]] ==== 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 === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | This parameter is the index of the item you want move to the bottom of the collection. | [[#Public Methods|Go Back]] ==== 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 === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | key | String | This parameter is the key of the item you want move to the bottom of the collection. | [[#Public Methods|Go Back]] ==== MoveToTop(T) ==== This method moves the item specified to the top of the collection. === Remarks === This method moves the item specified to the top of the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | This parameter is the item you want move to the top of the collection. | [[#Public Methods|Go Back]] ==== 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 === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | key | String | This parameter is the key of the item you want move to the top of the collection. | [[#Public Methods|Go Back]] ==== 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 === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | This parameter is the index of the item you want move to the top of the collection. | [[#Public Methods|Go Back]] ==== MoveUp(T) ==== This method moves an item up in the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | This parameter is the item you want to move up in the collection. | [[#Public Methods|Go Back]] ==== MoveUp(String) ==== This method moves an item up in the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | key | String | This parameter is the key of the item in the collection. | [[#Public Methods|Go Back]] ==== MoveUp(Int32) ==== This method moves an item up in the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | This parameter is the index of the item in the collection. | [[#Public Methods|Go Back]] ==== Remove(String) ==== This method removes an item from the collection based on the specified key. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | key | String | This parameter is the key of the item you want to remove. | [[#Public Methods|Go Back]] ==== Remove(T) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | item | T | | [[#Public Methods|Go Back]] ==== RemoveAt(Int32) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | | [[#Public Methods|Go Back]] ==== ToString() ==== === Return Value === ^ Return Type ^ Description ^ | String | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ===== Protected Methods ===== ==== ClearItems() ==== This method clears the items from the collection. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== Finalize() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== InsertItem(Int32, T) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | | | item | T | | [[#Protected Methods|Go Back]] ==== MemberwiseClone() ==== === Return Value === ^ Return Type ^ Description ^ | Object | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== OnAdded(AddedGeoCollectionEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.Core.AddedGeoCollectionEventArgs|AddedGeoCollectionEventArgs]] | | [[#Protected Methods|Go Back]] ==== OnAdding(AddingGeoCollectionEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.Core.AddingGeoCollectionEventArgs|AddingGeoCollectionEventArgs]] | | [[#Protected Methods|Go Back]] ==== OnClearedItems(ClearedItemsGeoCollectionEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.Core.ClearedItemsGeoCollectionEventArgs|ClearedItemsGeoCollectionEventArgs]] | | [[#Protected Methods|Go Back]] ==== OnClearingItems(ClearingItemsGeoCollectionEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.Core.ClearingItemsGeoCollectionEventArgs|ClearingItemsGeoCollectionEventArgs]] | | [[#Protected Methods|Go Back]] ==== OnCollectionChanged(NotifyCollectionChangedEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | NotifyCollectionChangedEventArgs | | [[#Protected Methods|Go Back]] ==== OnInserted(InsertedGeoCollectionEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.Core.InsertedGeoCollectionEventArgs|InsertedGeoCollectionEventArgs]] | | [[#Protected Methods|Go Back]] ==== OnInserting(InsertingGeoCollectionEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.Core.InsertingGeoCollectionEventArgs|InsertingGeoCollectionEventArgs]] | | [[#Protected Methods|Go Back]] ==== OnPropertyChanged(PropertyChangedEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | PropertyChangedEventArgs | | [[#Protected Methods|Go Back]] ==== OnRemoved(RemovedGeoCollectionEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.Core.RemovedGeoCollectionEventArgs|RemovedGeoCollectionEventArgs]] | | [[#Protected Methods|Go Back]] ==== OnRemoving(RemovingGeoCollectionEventArgs) ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | e | [[ThinkGeo.MapSuite.Core.RemovingGeoCollectionEventArgs|RemovingGeoCollectionEventArgs]] | | [[#Protected Methods|Go Back]] ==== RemoveItem(Int32) ==== This method removes an item from the collection based on the specified index. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | This parameter is the index of the item you want to remove. | [[#Protected Methods|Go Back]] ==== SetItem(Int32, T) ==== This method allows you to set an item based on the index. === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ | index | Int32 | This parameter is the index of the item you want to set. | | item | T | This parameter is the item you want to set. | [[#Protected Methods|Go Back]] ===== Public Properties ===== ==== Count ==== === Return Value === ^ Return Type ^ | Int32 | [[#Public Properties|Go Back]] ==== Item ==== === Return Value === ^ Return Type ^ | T | [[#Public Properties|Go Back]] ==== Item ==== === Return Value === ^ Return Type ^ | T | [[#Public Properties|Go Back]] ===== Protected Properties ===== ==== Items ==== === Return Value === ^ Return Type ^ | IList | [[#Protected Properties|Go Back]] ===== Public Events ===== ==== Added ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.Core.AddedGeoCollectionEventArgs|AddedGeoCollectionEventArgs]] | [[#Public Events|Go Back]] ==== Adding ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.Core.AddingGeoCollectionEventArgs|AddingGeoCollectionEventArgs]] | [[#Public Events|Go Back]] ==== ClearedItems ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.Core.ClearedItemsGeoCollectionEventArgs|ClearedItemsGeoCollectionEventArgs]] | [[#Public Events|Go Back]] ==== ClearingItems ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.Core.ClearingItemsGeoCollectionEventArgs|ClearingItemsGeoCollectionEventArgs]] | [[#Public Events|Go Back]] ==== CollectionChanged ==== === Event Arguments === ^ Event Arguments ^ | NotifyCollectionChangedEventArgs | [[#Public Events|Go Back]] ==== Inserted ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.Core.InsertedGeoCollectionEventArgs|InsertedGeoCollectionEventArgs]] | [[#Public Events|Go Back]] ==== Inserting ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.Core.InsertingGeoCollectionEventArgs|InsertingGeoCollectionEventArgs]] | [[#Public Events|Go Back]] ==== PropertyChanged ==== === Event Arguments === ^ Event Arguments ^ | PropertyChangedEventArgs | [[#Public Events|Go Back]] ==== Removed ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.Core.RemovedGeoCollectionEventArgs|RemovedGeoCollectionEventArgs]] | [[#Public Events|Go Back]] ==== Removing ==== === Event Arguments === ^ Event Arguments ^ | [[ThinkGeo.MapSuite.Core.RemovingGeoCollectionEventArgs|RemovingGeoCollectionEventArgs]] | [[#Public Events|Go Back]] __NOTOC__ [[Category:MapSuiteCore]] [[Category:ThinkGeo.MapSuite.Core]] [[Category:UpdateDocumentation]]