EmailAddressList

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericList

public class EmailAddressList implements System.Collections.Generic.IGenericList<EmailAddress>

List of email addresses for a contact

Constructors

ConstructorDescription
EmailAddressList()

Methods

MethodDescription
add(EmailAddress value)Adds an item to the list.
addItem(EmailAddress value)
clear()Removes all items from the list.
contains(EmailAddress value)Determines whether the list contains a specific value.
containsItem(EmailAddress value)
copyTo(EmailAddress[] array, int index)Copies the elements to an array, starting at a particular array index.
copyToTArray(EmailAddress[] array, int index)
equals(Object arg0)
getClass()
getEmail()Default email3 address.
getEmail1()Default email1 address.
getEmail2()Default email2 address.
getEmail3()Default email3 address.
getHome()Default home email address.
getSyncRoot()Gets an object that can be used to synchronize access to the ICollection.
getWork()Default work email address.
get_Item(EmailAddressCategory category)Default email address for specified category.
get_Item(int index)Gets or sets the element at the specified index.
hashCode()
indexOf(EmailAddress value)Determines the index of a specific item in the list.
indexOfItem(EmailAddress value)
insert(int index, EmailAddress value)Inserts an item to the list at the specified index.
insertItem(int index, EmailAddress value)
isReadOnly()Gets a value indicating whether the list is read-only.
iterator()Returns an enumerator that iterates through a collection.
notify()
notifyAll()
remove(EmailAddress value)Removes the first occurrence of a specific object from the list.
removeAt(int index)Removes the list item at the specified index.
removeItem(EmailAddress value)
setEmail(EmailAddress value)Default email3 address.
setEmail1(EmailAddress value)Default email1 address.
setEmail2(EmailAddress value)Default email2 address.
setEmail3(EmailAddress value)Default email3 address.
setHome(EmailAddress value)Default home email address.
setWork(EmailAddress value)Default work email address.
set_Item(EmailAddressCategory category, EmailAddress value)Default email address for specified category.
set_Item(int index, EmailAddress value)Gets or sets the element at the specified index.
size()Gets the number of elements contained in the ICollection.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

EmailAddressList()

public EmailAddressList()

add(EmailAddress value)

public final void add(EmailAddress value)

Adds an item to the list.

Parameters:

ParameterTypeDescription
valueEmailAddressThe Object to add to the list.

addItem(EmailAddress value)

public void addItem(EmailAddress value)

Parameters:

ParameterTypeDescription
valueEmailAddress

clear()

public final void clear()

Removes all items from the list.

contains(EmailAddress value)

public final boolean contains(EmailAddress value)

Determines whether the list contains a specific value.

Parameters:

ParameterTypeDescription
valueEmailAddressThe object to locate in the list.

Returns: boolean - true if the object is found in the list; otherwise, false.

containsItem(EmailAddress value)

public boolean containsItem(EmailAddress value)

Parameters:

ParameterTypeDescription
valueEmailAddress

Returns: boolean

copyTo(EmailAddress[] array, int index)

public final void copyTo(EmailAddress[] array, int index)

Copies the elements to an array, starting at a particular array index.

Parameters:

ParameterTypeDescription
arrayEmailAddress[]The one-dimensional array that is the destination of the elements copied from collections. The array must have zero-based indexing.
indexintThe zero-based index in array at which copying begins.

copyToTArray(EmailAddress[] array, int index)

public void copyToTArray(EmailAddress[] array, int index)

Parameters:

ParameterTypeDescription
arrayEmailAddress[]
indexint

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEmail()

public final EmailAddress getEmail()

Default email3 address.

Returns: EmailAddress

getEmail1()

public final EmailAddress getEmail1()

Default email1 address.

Returns: EmailAddress

getEmail2()

public final EmailAddress getEmail2()

Default email2 address.

Returns: EmailAddress

getEmail3()

public final EmailAddress getEmail3()

Default email3 address.

Returns: EmailAddress

getHome()

public final EmailAddress getHome()

Default home email address.

Returns: EmailAddress

getSyncRoot()

public final Object getSyncRoot()

Gets an object that can be used to synchronize access to the ICollection.

Returns: java.lang.Object - An object that can be used to synchronize access to the ICollection.

getWork()

public final EmailAddress getWork()

Default work email address.

Returns: EmailAddress

get_Item(EmailAddressCategory category)

public final EmailAddress get_Item(EmailAddressCategory category)

Default email address for specified category.

Parameters:

ParameterTypeDescription
categoryEmailAddressCategoryCategory for email address

Returns: EmailAddress - default email address for specified category.

get_Item(int index)

public final EmailAddress get_Item(int index)

Gets or sets the element at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero-based index of the element to get or set.

Returns: EmailAddress - The element at the specified index.

hashCode()

public native int hashCode()

Returns: int

indexOf(EmailAddress value)

public final int indexOf(EmailAddress value)

Determines the index of a specific item in the list.

Parameters:

ParameterTypeDescription
valueEmailAddressThe Object to locate in the list.

Returns: int - The index of value if found in the list; otherwise, -1.

indexOfItem(EmailAddress value)

public int indexOfItem(EmailAddress value)

Parameters:

ParameterTypeDescription
valueEmailAddress

Returns: int

insert(int index, EmailAddress value)

public final void insert(int index, EmailAddress value)

Inserts an item to the list at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero-based index at which value should be inserted.
valueEmailAddressThe Object to insert into the list.

insertItem(int index, EmailAddress value)

public void insertItem(int index, EmailAddress value)

Parameters:

ParameterTypeDescription
indexint
valueEmailAddress

isReadOnly()

public final boolean isReadOnly()

Gets a value indicating whether the list is read-only.

Returns: boolean - true if the list is read-only; otherwise, false.

iterator()

public final System.Collections.Generic.IGenericEnumerator<EmailAddress> iterator()

Returns an enumerator that iterates through a collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.email.EmailAddress> - An IEnumerator object that can be used to iterate through the collection.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(EmailAddress value)

public final boolean remove(EmailAddress value)

Removes the first occurrence of a specific object from the list.

Parameters:

ParameterTypeDescription
valueEmailAddressThe Object to remove from the list.

Returns: boolean

removeAt(int index)

public final void removeAt(int index)

Removes the list item at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero-based index of the item to remove.

removeItem(EmailAddress value)

public boolean removeItem(EmailAddress value)

Parameters:

ParameterTypeDescription
valueEmailAddress

Returns: boolean

setEmail(EmailAddress value)

public final void setEmail(EmailAddress value)

Default email3 address.

Parameters:

ParameterTypeDescription
valueEmailAddress

setEmail1(EmailAddress value)

public final void setEmail1(EmailAddress value)

Default email1 address.

Parameters:

ParameterTypeDescription
valueEmailAddress

setEmail2(EmailAddress value)

public final void setEmail2(EmailAddress value)

Default email2 address.

Parameters:

ParameterTypeDescription
valueEmailAddress

setEmail3(EmailAddress value)

public final void setEmail3(EmailAddress value)

Default email3 address.

Parameters:

ParameterTypeDescription
valueEmailAddress

setHome(EmailAddress value)

public final void setHome(EmailAddress value)

Default home email address.

Parameters:

ParameterTypeDescription
valueEmailAddress

setWork(EmailAddress value)

public final void setWork(EmailAddress value)

Default work email address.

Parameters:

ParameterTypeDescription
valueEmailAddress

set_Item(EmailAddressCategory category, EmailAddress value)

public final void set_Item(EmailAddressCategory category, EmailAddress value)

Default email address for specified category.

Parameters:

ParameterTypeDescription
categoryEmailAddressCategoryCategory for email address
valueEmailAddress

set_Item(int index, EmailAddress value)

public final void set_Item(int index, EmailAddress value)

Gets or sets the element at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero-based index of the element to get or set.
valueEmailAddress

size()

public final int size()

Gets the number of elements contained in the ICollection.

Returns: int - The number of elements contained in the ICollection.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int