|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPortionCollection
Represents a collection of a portions.
Method Summary | |
---|---|
void |
add(IPortion value)
Adds a Portion to the end of collection. |
void |
clear()
Removes all elements from the collection. |
boolean |
contains(IPortion item)
Determines whether the T:System.Collections.Generic.ICollection`1 contains a specific value. |
IPortion |
get_Item(int index)
Gets the element at the specified index. |
int |
getCount()
Gets the number of elements actually contained in the collection. |
int |
indexOf(IPortion item)
Determines the index of a specific portion in collection. |
void |
insert(int index,
IPortion value)
Inserts a Portion into the collection at the specified index. |
boolean |
remove(IPortion item)
Removes the first occurrence of a specific object from the T:System.Collections.Generic.ICollection`1 . |
void |
removeAt(int index)
Removes the element at the specified index of the collection. |
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable |
---|
iterator |
Method Detail |
---|
IPortion get_Item(int index)
Gets the element at the specified index.
int getCount()
Gets the number of elements actually contained in the collection.
Read-only int
.
void add(IPortion value)
Adds a Portion to the end of collection.
value
- The Portion to be added to the end of the collection.int indexOf(IPortion item)
Determines the index of a specific portion in collection.
item
- The portion to locate in the collection.
item
if found in the collection; otherwise, -1.void insert(int index, IPortion value)
Inserts a Portion into the collection at the specified index.
index
- The zero-based index at which Portion should be inserted.value
- The Portion to insert.void clear()
Removes all elements from the collection.
boolean contains(IPortion item)
Determines whether the T:System.Collections.Generic.ICollection`1
contains a specific value.
item
- The object to locate in the T:System.Collections.Generic.ICollection`1
.
item
is found in the T:System.Collections.Generic.ICollection`1
; otherwise, false.boolean remove(IPortion item)
Removes the first occurrence of a specific object from the T:System.Collections.Generic.ICollection`1
.
itemThe
- object to remove from the T:System.Collections.Generic.ICollection`1
.T:System.Collections.Generic.ICollection`1
is read-only.
item
was successfully removed from the T:System.Collections.Generic.ICollection`1
; otherwise, false. This method also returns false if item
is not found in the original T:System.Collections.Generic.ICollection`1
.void removeAt(int index)
Removes the element at the specified index of the collection.
index
- The zero-based index of the element to remove.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |