[]
        
(Showing Draft Content)

C1.C1Preview.NamedCollection

NamedCollection Class

Represents an OwnedCollection of uniquely-named elements.

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public abstract class NamedCollection : OwnedCollection, IList, ICollection, IEnumerable

Constructors

Name Description
NamedCollection(ICollectionOwner)

Initializes a new instance of the NamedCollection class.

Methods

Name Description
FindByName(string)

Returns NamedCollectionItem with specified name.

GetItemType()

Gets the type of collection elements.

IndexOfName(string)

Returns the 0-based index of a NamedCollectionItem with specified name in the current NamedCollection.

OnClearComplete()

Called after the collection has been cleared.

OnInsert(int, object)

Called when an item is about to be iserted.

OnRemoveComplete(int, object)

Called after an item has been removed.

OnSet(int, object, object)

Called when an item is about to be set.

OnSetComplete(int, object, object)

Called after an item has been set.