IPortionCollection class

IPortionCollection class

Represents a collection of a portions.

The IPortionCollection type exposes the following members:

Properties

PropertyDescription
countGets the number of elements actually contained in the collection.
Read-only int.

Gets the element at the specified index.

Indexer

NameDescription
[index]

Methods

MethodDescription
addAdds a Portion to the end of collection.
index_ofDetermines the index of a specific portion in collection.
insertInserts a Portion into the collection at the specified index.
clearRemoves all elements from the collection.
containsDetermines whether the System.Collections.Generic.ICollection`1 contains a specific value.
removeRemoves the first occurrence of a specific object from the System.Collections.Generic.ICollection`1.
remove_atRemoves the element at the specified index of the collection.

See Also