PortionCollection class

PortionCollection class

Represents a collection of portions.

The PortionCollection type exposes the following members:

Properties

PropertyDescription
countGets the number of elements actually contained in the collection.
Read-only int.
is_read_onlyGets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only.
Read-only bool.

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 item in the System.Collections.Generic.IList`1.
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.
copy_toCopies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
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