User Tools

Site Tools


thinkgeo.mapsuite.webedition.geokeyedcollection_1

This is an old revision of the document!


ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection<T>

Represents a strong-typed collection that can be accessed by index or by the identifier of an item.

Inheritance Hierarchy

  • System.Object
    • System.Collections.ObjectModel.Collection<T>
      • System.Collections.ObjectModel.KeyedCollection<String,T>
        • ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection<T>

Members Summary

Public Constructors

GeoKeyedCollection`1()

Initializes a new instance of the GeoKeyedCollection class.

Remarks

N/A

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

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

ToJson()

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

Remarks

N/A

Return Value
  • Type:String
  • Description:A string that contains information about all of the items in the collection.
Parameters

Contains(String)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • key
    • Type:String
    • Description:N/A

Remove(String)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • key
    • Type:String
    • Description:N/A

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

GetKeyForItem(T)

N/A

Remarks

N/A

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

ChangeItemKey(T,String)

N/A

Remarks

N/A

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

ClearItems()

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)

N/A

Remarks

N/A

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

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

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

Comparer

N/A

Remarks

N/A

Return Value
  • Type:IEqualityComparer<String>

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

Dictionary

N/A

Remarks

N/A

Return Value
  • Type:IDictionary<String,T>

Items

N/A

Remarks

N/A

Return Value
  • Type:IList<T>

Public Events

thinkgeo.mapsuite.webedition.geokeyedcollection_1.1442545665.txt.gz · Last modified: 2015/09/18 03:07 by admin