[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection

BaseKeyCollection Class

Represents a base collection of key-and-value pairs.

Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
public abstract class BaseKeyCollection : ICollection, IEnumerable
Public MustInherit Class BaseKeyCollection
    Implements ICollection, IEnumerable
Remarks

The BaseKeyCollection class implements the IEnumerable and ICollection interfaces.

Constructors

Name Description
BaseKeyCollection()

Properties

Name Description
Count

Gets the number of key-and-value pairs contained in the BaseKeyCollection.

this[int]

Gets or sets the element at the specified index.

this[string]

Gets or sets the element with the specified key.

ItemList

Gets an ICollection that contains the list of elements in the BaseKeyCollection instance.

Keys

Gets a string array that contains the keys in the BaseKeyCollection.

Methods

Name Description
Add(string, object)

Adds an element with the specified key and value to the end of the BaseKeyCollection.

AddRange(string[], object[])

Adds the elements of key-and-value pairs in arrays to the end of the BaseKeyCollection.

Clear()

Removes all elements from the BaseKeyCollection.

Contains(object)

Determines whether an element is contained in the BaseKeyCollection.

ContainsKey(string)

Determines whether the BaseKeyCollection contains a specific key.

ContainsValue(object)

Determines whether the BaseKeyCollection contains a specific value.

Dispose()

Releases the resources used by the BaseKeyCollection.

GetKey(int)

Gets the key of the element with the specified index in the collection.

IndexOf(object)

Searches for the specified object and returns the zero-based index within the BaseKeyCollection.

IndexOf(string)

Returns the zero-based index of the element with specified key in the BaseKeyCollection.

Insert(int, string, object)

Inserts an element with the specified key and value at the specified index of the BaseKeyCollection.

Remove(string)

Removes the element with the specified key from the BaseKeyCollection.

RemoveAt(int)

Removes the element at the specified index of the BaseKeyCollection.