MapiRecipientCollection

Inheritance: java.lang.Object, com.aspose.ms.System.Collections.ObjectModel.Collection

public class MapiRecipientCollection extends System.Collections.ObjectModel.Collection<MapiRecipient>

Represents a collection of MapiRecipient objects.

Constructors

ConstructorDescription
MapiRecipientCollection()Initializes a new instance of the MapiRecipientCollection class.

Methods

MethodDescription
add(String address, String displayName, int recipientType)Adds the new recipient.
add(String address, String addressType, String displayName, int recipientType)Adds the new recipient.
addItem(T arg0)
addMapiRecipient(MapiRecipient item)Adds an object to the end of the System.Collections.ObjectModel.Collection1 .
clear()
containsItem(T arg0)
copyToTArray(T[] arg0, int arg1)
equals(Object arg0)
getClass()
getICollection()
getIList()
getSyncRoot()
get_Item(int arg0)
hashCode()
indexOfItem(T arg0)
insertItem(int arg0, T arg1)
insertMapiRecipient(int index, MapiRecipient item)Inserts an element into the System.Collections.ObjectModel.Collection1 at the specified index.
isReadOnly()
iterator()
notify()
notifyAll()
removeAt(int arg0)
removeItem(T arg0)
set_Item(int arg0, T arg1)
size()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MapiRecipientCollection()

public MapiRecipientCollection()

Initializes a new instance of the MapiRecipientCollection class.

add(String address, String displayName, int recipientType)

public final void add(String address, String displayName, int recipientType)

Adds the new recipient.

Parameters:

ParameterTypeDescription
addressjava.lang.StringThe mail address of recipient.
displayNamejava.lang.StringThe display name of recipient.
recipientTypeintType of the recipient.

When adding a new recepient, the value of either MapiMessage.DisplayTo or MapiMessage.DisplayBcc or MapiMessage.DisplayCC is also updated depending on the type of recepient. |

add(String address, String addressType, String displayName, int recipientType)

public final void add(String address, String addressType, String displayName, int recipientType)

Adds the new recipient.

Parameters:

ParameterTypeDescription
addressjava.lang.StringThe mail address of recipient.
addressTypejava.lang.StringThe type of address.
displayNamejava.lang.StringThe display name of recipient.
recipientTypeintType of the recipient.

When adding a new recepient, the value of either MapiMessage.DisplayTo or MapiMessage.DisplayBcc or MapiMessage.DisplayCC is also updated depending on the type of recepient. |

addItem(T arg0)

public void addItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

addMapiRecipient(MapiRecipient item)

public final void addMapiRecipient(MapiRecipient item)

Adds an object to the end of the System.Collections.ObjectModel.Collection1 .

Parameters:

ParameterTypeDescription
itemMapiRecipientThe object to be added to the end of the System.Collections.ObjectModel.Collection1 . The value can be null for reference types.

clear()

public void clear()

containsItem(T arg0)

public boolean containsItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

Returns: boolean

copyToTArray(T[] arg0, int arg1)

public void copyToTArray(T[] arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0T[]
arg1int

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

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:

ParameterTypeDescription
arg0int

Returns: T

hashCode()

public native int hashCode()

Returns: int

indexOfItem(T arg0)

public int indexOfItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

Returns: int

insertItem(int arg0, T arg1)

public void insertItem(int arg0, T arg1)

Parameters:

ParameterTypeDescription
arg0int
arg1T

insertMapiRecipient(int index, MapiRecipient item)

public final void insertMapiRecipient(int index, MapiRecipient item)

Inserts an element into the System.Collections.ObjectModel.Collection1 at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero-based index at which item should be inserted.
itemMapiRecipientThe 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 arg0)

public void removeAt(int arg0)

Parameters:

ParameterTypeDescription
arg0int

removeItem(T arg0)

public boolean removeItem(T arg0)

Parameters:

ParameterTypeDescription
arg0T

Returns: boolean

set_Item(int arg0, T arg1)

public void set_Item(int arg0, T arg1)

Parameters:

ParameterTypeDescription
arg0int
arg1T

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int