[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.NamedObjectCollection-1

NamedObjectCollection<T> Class

Represents the strongly typed collection of INamedObject objects. Provides methods and properties to search and access items using the Name property of the INamedObject object.

Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
public class NamedObjectCollection<T> : CollectionBase<T>, IList, ICollection, IEnumerable where T : INamedObject
Public Class NamedObjectCollection(Of T As INamedObject)
    Inherits CollectionBase(Of T)
    Implements IList, ICollection, IEnumerable
Type Parameters
Name Description
T

Constructors

Name Description
NamedObjectCollection()

Initializes a new instance of the NamedObjectCollection<T> class.

NamedObjectCollection(NamedObjectCollection<T>)

Initializes a new instance of the NamedObjectCollection<T> class.

NamedObjectCollection(T[])

Initializes a new instance of the NamedObjectCollection<T> class.

Properties

Name Description
this[string]

Gets or sets the element with the specified name.

Methods

Name Description
ContainsKey(string)

Determines whether the NamedObjectCollection<T> collection contains an item with the specified key.

Find(string)

Finds the item using the specified name.

IndexOfKey(string)

Retrieves the index of the first occurrence of the specified item within the collection.