T - Type of a collection item.public abstract class BaseWebExtensionCollection
extends java.lang.Object
implements java.lang.Iterable
TaskPaneCollection, WebExtensionBindingCollection, WebExtensionPropertyCollection and WebExtensionReferenceCollection collections.
To learn more, visit the Work with Office Add-ins documentation article.
| Constructor and Description |
|---|
BaseWebExtensionCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all elements from the collection.
|
java.lang.Object |
get(int index)
Gets an item at the specified index.
|
int |
getCount()
Gets the number of elements contained in the collection.
|
java.util.Iterator |
iterator()
Returns an enumerator that can iterate through a collection.
|
void |
remove(int index)
Removes the item at the specified index from the collection.
|
public int getCount()
public java.lang.Object get(int index)
index - Zero-based index of the item.public void clear()
public void remove(int index)
index - The zero-based index of the collection item.public java.util.Iterator iterator()
iterator in interface java.lang.Iterable