|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommentAuthorCollection
Represents a collection of comment authors.
Method Summary | |
---|---|
ICommentAuthor |
addAuthor(java.lang.String name,
java.lang.String initials)
Add new author at the end of a collection. |
void |
clear()
Removes all authors from a collection. |
ICommentAuthor[] |
findByName(java.lang.String name)
Find author in a collection by name. |
ICommentAuthor[] |
findByNameAndInitials(java.lang.String name,
java.lang.String initials)
Find author in a collection by name and initials. |
ICommentAuthor |
get_Item(int index)
Gets the element at the specified index. |
void |
remove(ICommentAuthor author)
Removes the first occurrence of the specified author in a collection. |
void |
removeAt(int index)
Removes the author at the specified index of the collection. |
ICommentAuthor[] |
toArray()
Creates and returns an array with all authors. |
Methods inherited from interface com.aspose.slides.IGenericCollection |
---|
copyTo, getSyncRoot, isSynchronized, size |
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable |
---|
iterator |
Method Detail |
---|
ICommentAuthor get_Item(int index)
Gets the element at the specified index.
Read-only ICommentAuthor
.
ICommentAuthor addAuthor(java.lang.String name, java.lang.String initials)
Add new author at the end of a collection.
name
- Name of a new author.initials
- Initials of a new author.ICommentAuthor[] toArray()
Creates and returns an array with all authors.
ICommentAuthor
ICommentAuthor[] findByName(java.lang.String name)
Find author in a collection by name.
name
- Name of an author to find.
ICommentAuthor[] findByNameAndInitials(java.lang.String name, java.lang.String initials)
Find author in a collection by name and initials.
name
- Name of an author to find.initials
- Initials of an author to find.
void removeAt(int index)
Removes the author at the specified index of the collection.
index
- The zero-based index of the element to remove.
com.aspose.ms.System.ArgumentOutOfRangeException
- Index is less than 0 or index is equal or greater than Count
PptxEditException
- Thrown if author is already removed.void remove(ICommentAuthor author)
Removes the first occurrence of the specified author in a collection.
author
- The author to remove from a collection.
com.aspose.ms.System.ArgumentNullException
- Author is PptxEditException
- Thrown if author is already removed.void clear()
Removes all authors from a collection.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |