public class InstantMessengerList extends Object implements com.aspose.ms.System.Collections.Generic.IGenericList<InstantMessengerAddress>
List of instant messenger addresses for a contact.
Constructor and Description |
---|
InstantMessengerList() |
Modifier and Type | Method and Description |
---|---|
void |
add(InstantMessengerAddress value)
Adds an item to the list.
|
void |
addItem(InstantMessengerAddress value) |
void |
clear()
Removes all items from the list.
|
boolean |
contains(InstantMessengerAddress value)
Determines whether the list contains a specific value.
|
boolean |
containsItem(InstantMessengerAddress value) |
void |
copyTo(InstantMessengerAddress[] array,
int index)
Copies the elements to an array, starting at a particular array index.
|
void |
copyToTArray(InstantMessengerAddress[] array,
int index) |
String |
get_Item(InstantMessengerCategory category)
Default instant messenger address for specified category
|
InstantMessengerAddress |
get_Item(int index)
Gets or sets the element at the specified index.
|
String |
getAIM()
Default AIM id
|
String |
getGoogleTalk()
Default Google Talk id
|
String |
getICQ()
Default ICQ id
|
String |
getJabber()
Default Jabber id
|
String |
getMSN()
Default MSN id
|
String |
getQQ()
Default QQ id
|
String |
getSkype()
Default skype is
|
String |
getYahoo()
Default Yahoo id
|
int |
indexOf(InstantMessengerAddress value)
Determines the index of a specific item in the list.
|
int |
indexOfItem(InstantMessengerAddress value) |
void |
insert(int index,
InstantMessengerAddress value)
Inserts an item to the list at the specified index.
|
void |
insertItem(int index,
InstantMessengerAddress value) |
boolean |
isReadOnly()
Gets a value indicating whether the list is read-only.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<InstantMessengerAddress> |
iterator()
Returns an enumerator that iterates through a collection.
|
boolean |
remove(InstantMessengerAddress value)
Removes the first occurrence of a specific object from the list.
|
void |
removeAt(int index)
Removes the list item at the specified index.
|
boolean |
removeItem(InstantMessengerAddress value) |
void |
set_Item(InstantMessengerCategory category,
String value)
Default instant messenger address for specified category
|
void |
set_Item(int index,
InstantMessengerAddress value)
Gets or sets the element at the specified index.
|
void |
setAIM(String value)
Default AIM id
|
void |
setGoogleTalk(String value)
Default Google Talk id
|
void |
setICQ(String value)
Default ICQ id
|
void |
setJabber(String value)
Default Jabber id
|
void |
setMSN(String value)
Default MSN id
|
void |
setQQ(String value)
Default QQ id
|
void |
setSkype(String value)
Default skype is
|
void |
setYahoo(String value)
Default Yahoo id
|
int |
size()
Gets the number of elements contained in the
ICollection . |
public final String getAIM()
Default AIM id
public final void setAIM(String value)
Default AIM id
public final String getGoogleTalk()
Default Google Talk id
public final void setGoogleTalk(String value)
Default Google Talk id
public final String getICQ()
Default ICQ id
public final void setICQ(String value)
Default ICQ id
public final String getJabber()
Default Jabber id
public final void setJabber(String value)
Default Jabber id
public final String getMSN()
Default MSN id
public final void setMSN(String value)
Default MSN id
public final String getQQ()
Default QQ id
public final void setQQ(String value)
Default QQ id
public final String getSkype()
Default skype is
public final void setSkype(String value)
Default skype is
public final String getYahoo()
Default Yahoo id
public final void setYahoo(String value)
Default Yahoo id
public final String get_Item(InstantMessengerCategory category)
Default instant messenger address for specified category
public final void set_Item(InstantMessengerCategory category, String value)
Default instant messenger address for specified category
public final void add(InstantMessengerAddress value)
Adds an item to the list.
value
- The object to add to the list.public final void insert(int index, InstantMessengerAddress value)
Inserts an item to the list at the specified index.
index
- The zero-based index at which value
should be inserted.value
- The Object
to insert into the list.public final InstantMessengerAddress get_Item(int index)
Gets or sets the element at the specified index.
get_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericList<InstantMessengerAddress>
index
- The zero-based index of the element to get or set.public final void set_Item(int index, InstantMessengerAddress value)
Gets or sets the element at the specified index.
set_Item
in interface com.aspose.ms.System.Collections.Generic.IGenericList<InstantMessengerAddress>
index
- The zero-based index of the element to get or set.public final boolean contains(InstantMessengerAddress value)
Determines whether the list contains a specific value.
value
- The object to locate in the list.public final void clear()
Removes all items from the list.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<InstantMessengerAddress>
public final int indexOf(InstantMessengerAddress value)
Determines the index of a specific item in the list.
value
- The Object
to locate in the list.value
if found in the list; otherwise, -1.public final boolean remove(InstantMessengerAddress value)
Removes the first occurrence of a specific object from the list.
value
- The Object
to remove from the list.public final void removeAt(int index)
Removes the list item at the specified index.
removeAt
in interface com.aspose.ms.System.Collections.Generic.IGenericList<InstantMessengerAddress>
index
- The zero-based index of the item to remove.public final boolean isReadOnly()
Gets a value indicating whether the list is read-only.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<InstantMessengerAddress>
public final void copyTo(InstantMessengerAddress[] array, int index)
Copies the elements to an array, starting at a particular array index.
array
- The one-dimensional array that is the destination of the elements copied from collections.
The array must have zero-based indexing.index
- The zero-based index in array at which copying begins.public final int size()
Gets the number of elements contained in the ICollection
.
size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<InstantMessengerAddress>
ICollection
.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<InstantMessengerAddress> iterator()
Returns an enumerator that iterates through a collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<InstantMessengerAddress>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<InstantMessengerAddress>
iterator
in interface Iterable<InstantMessengerAddress>
IEnumerator
object that can be used to iterate through the collection.public void addItem(InstantMessengerAddress value)
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<InstantMessengerAddress>
public boolean removeItem(InstantMessengerAddress value)
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<InstantMessengerAddress>
public void insertItem(int index, InstantMessengerAddress value)
insertItem
in interface com.aspose.ms.System.Collections.Generic.IGenericList<InstantMessengerAddress>
public int indexOfItem(InstantMessengerAddress value)
indexOfItem
in interface com.aspose.ms.System.Collections.Generic.IGenericList<InstantMessengerAddress>
public boolean containsItem(InstantMessengerAddress value)
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<InstantMessengerAddress>
public void copyToTArray(InstantMessengerAddress[] array, int index)
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<InstantMessengerAddress>