AttachmentCollection
Inheritance: java.lang.Object, com.aspose.ms.System.Collections.ObjectModel.Collection
All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable
public final class AttachmentCollection extends System.Collections.ObjectModel.Collection<Attachment> implements System.IDisposable, Closeable
Represents a collection of e-mail message attachments.
Methods
Method | Description |
---|---|
addItem(T arg0) | |
clear() | Removes all elements from the Collection. |
close() | |
containsItem(T arg0) | |
copyToTArray(T[] arg0, int arg1) | |
dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
equals(Object arg0) | |
getClass() | |
getICollection() | |
getIList() | |
getSyncRoot() | |
get_Item(int arg0) | |
hashCode() | |
indexOfItem(T arg0) | |
insertItem(int arg0, T arg1) | |
insertItem(int index, Attachment item) | Inserts an element into the System.Collections.ObjectModel.Collection1 at the specified index. |
isReadOnly() | |
iterator() | |
notify() | |
notifyAll() | |
removeAt(int index) | Removes the element at the specified index of the Collection. |
removeItem(T arg0) | |
set_Item(int arg0, T arg1) | |
size() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
addItem(T arg0)
public void addItem(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
clear()
public void clear()
Removes all elements from the Collection.
close()
public void close()
containsItem(T arg0)
public boolean containsItem(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
Returns: boolean
copyToTArray(T[] arg0, int arg1)
public void copyToTArray(T[] arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T[] | |
arg1 | int |
dispose()
public final void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getICollection()
public System.Collections.ICollection getICollection()
Returns: com.aspose.ms.System.Collections.ICollection
getIList()
public System.Collections.IList getIList()
Returns: com.aspose.ms.System.Collections.IList
getSyncRoot()
public Object getSyncRoot()
Returns: java.lang.Object
get_Item(int arg0)
public T get_Item(int arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int |
Returns: T
hashCode()
public native int hashCode()
Returns: int
indexOfItem(T arg0)
public int indexOfItem(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
Returns: int
insertItem(int arg0, T arg1)
public void insertItem(int arg0, T arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | T |
insertItem(int index, Attachment item)
public void insertItem(int index, Attachment item)
Inserts an element into the System.Collections.ObjectModel.Collection1 at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index at which item should be inserted. |
item | Attachment | The object to insert. The value can be null for reference types. |
isReadOnly()
public boolean isReadOnly()
Returns: boolean
iterator()
public System.Collections.Generic.IGenericEnumerator<T> iterator()
Returns:
com.aspose.ms.System.Collections.Generic.IGenericEnumerator
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeAt(int index)
public void removeAt(int index)
Removes the element at the specified index of the Collection.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index of the element to remove. |
removeItem(T arg0)
public boolean removeItem(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
Returns: boolean
set_Item(int arg0, T arg1)
public void set_Item(int arg0, T arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | int | |
arg1 | T |
size()
public int size()
Returns: int
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |