User Tools

Site Tools


thinkgeo.mapsuite.portablecore.geocollection_1

ThinkGeo.MapSuite.Core.GeoCollection<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.

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<T>
      • ThinkGeo.MapSuite.Core.GeoCollection<T>

Members Summary

Public Constructors

GeoCollection`1()

  • This is the default constructor for the class.
Remarks
  • None
Parameters

Protected Constructors

Public Methods

GetKeys()

  • This method returns a collection of the keys in the collection.
Remarks
  • None
Return Value
  • Type:Collection<String>
  • Description:This method returns a collection of the keys in the collection.
Parameters

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

Add(T)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • item
    • Type:T
    • Description:N/A

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

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

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.

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.

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.

MoveUp(T)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • item
    • Type:T
    • Description:N/A

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.

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.

MoveDown(T)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • item
    • Type:T
    • Description:N/A

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.

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.

MoveToTop(T)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • item
    • Type:T
    • Description:N/A

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.

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.

MoveToBottom(T)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • item
    • Type:T
    • Description:N/A

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.

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.

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

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.

Add(T)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • item
    • Type:T
    • Description:N/A

Clear()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

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

Contains(T)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • item
    • Type:T
    • Description:N/A

GetEnumerator()

  • N/A
Remarks
  • N/A
Return Value
  • Type:IEnumerator<T>
  • Description:N/A
Parameters

IndexOf(T)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters
  • item
    • Type:T
    • Description:N/A

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

Remove(T)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • item
    • Type:T
    • Description:N/A

RemoveAt(Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • index
    • Type:Int32
    • Description:N/A

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

OnInserting(InsertingGeoCollectionEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnInserted(InsertedGeoCollectionEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRemoving(RemovingGeoCollectionEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRemoved(RemovedGeoCollectionEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnAdding(AddingGeoCollectionEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnAdded(AddedGeoCollectionEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnClearingItems(ClearingItemsGeoCollectionEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnClearedItems(ClearedItemsGeoCollectionEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

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

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.

ClearItems()

  • This method clears the items from the collection.
Remarks
  • None
Return Value
  • Type:Void
  • Description:None
Parameters

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

OnCollectionChanged(NotifyCollectionChangedEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:NotifyCollectionChangedEventArgs
    • Description:N/A

OnPropertyChanged(PropertyChangedEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:PropertyChangedEventArgs
    • Description:N/A

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

Item

  • N/A
Remarks
  • N/A
Return Value
  • Type:T

Count

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32

Item

  • N/A
Remarks
  • N/A
Return Value
  • Type:T

Protected Properties

Items

  • N/A
Remarks
  • N/A
Return Value
  • Type:IList<T>

Public Events

Inserting

  • N/A
Remarks
  • N/A

Event Arguments:InsertingGeoCollectionEventArgs

Inserted

  • N/A
Remarks
  • N/A

Event Arguments:InsertedGeoCollectionEventArgs

Removing

  • N/A
Remarks
  • N/A

Event Arguments:RemovingGeoCollectionEventArgs

Removed

  • N/A
Remarks
  • N/A

Event Arguments:RemovedGeoCollectionEventArgs

Adding

  • N/A
Remarks
  • N/A

Event Arguments:AddingGeoCollectionEventArgs

Added

  • N/A
Remarks
  • N/A

Event Arguments:AddedGeoCollectionEventArgs

ClearingItems

  • N/A
Remarks
  • N/A

Event Arguments:ClearingItemsGeoCollectionEventArgs

ClearedItems

  • N/A
Remarks
  • N/A

Event Arguments:ClearedItemsGeoCollectionEventArgs

CollectionChanged

  • N/A
Remarks
  • N/A

Event Arguments:

PropertyChanged

  • N/A
Remarks
  • N/A

Event Arguments:

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