public interface ICommentAuthorCollection extends IGenericCollection<ICommentAuthor>
Represents a collection of comment authors.
Modifier and Type | Method and Description |
---|---|
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.
|
iterator
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 CountPptxEditException
- 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 null
PptxEditException
- Thrown if author is already removed.void clear()
Removes all authors from a collection.