[]
        
(Showing Draft Content)

C1.Win.Map.MapCollectionBase-1

MapCollectionBase<T> Class

Represents the collection of map objects.

Namespace: C1.Win.Map
Assembly: C1.Win.Map.4.8.dll
Syntax
public abstract class MapCollectionBase<T> : IList<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable, IEditingNotify where T : INotifier
Type Parameters
Name Description
T

The type of elements in the collection.

Constructors

Name Description
MapCollectionBase()

Properties

Name Description
Count

Gets the number of elements in the collection.

this[int]

Gets or sets the element at the specified index.

Methods

Name Description
Add(T)

Adds an existing item to the collection.

AddNew()

Adds a new item to the collection.

Clear()

Removes all items from the collection.

Contains(T)

Determines whether the collection contains a specific item.

CopyTo(T[], int)

Copies the elements of the collection to an Array, starting at a particular array index.

IndexOf(T)

Gets the index of the element.

Insert(int, T)

Inserts an item ot the collection at the specified index.

InternalAdd(T)

Internal used only. Adds an existing item to the collection.

InternalClear()

Internal used only. Removes all items from the collection.

InternalInsert(int, T)

Internal used only. Inserts an item ot the collection at the specified index.

InternalRemoveAt(int)

Internal used only. Removes the item at the specified index.

NotifyChanges()

Called when changes need be notified.

Remove(T)

Removes an existing item from the collection.

RemoveAt(int)

Removes the item at the specified index.