Constructor and Description |
---|
PhoneNumberList() |
Modifier and Type | Method and Description |
---|---|
int |
add(Object value)
Adds an item to the list.
|
void |
add(PhoneNumber value)
Adds an item to the list.
|
int |
addItem(Object o) |
void |
clear()
Removes all items from the list.
|
boolean |
contains(Object value)
Determines whether the list contains a specific value.
|
boolean |
contains(PhoneNumber value)
Determines whether the list contains a specific value.
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies the elements of the
T:System.Collections.ICollection to an T:System.Array , starting at a particular T:System.Array index. |
void |
copyTo(PhoneNumber[] array,
int index)
Copies the elements to an array, starting at a particular array index.
|
PhoneNumber |
get_Item(int index)
Gets or sets the element at the specified index.
|
String |
getAssistant()
Default assistant phone number
|
String |
getCallback()
Default callback phone number
|
String |
getCar()
Default car phone number
|
String |
getCompany()
Default company phone number
|
String |
getCustom()
Default custom phone category
|
String |
getFax()
Default fax number
|
String |
getHome()
Default home phone number
|
String |
getHomeFax()
Default home fax number
|
String |
getIsdn()
Default isdn phone number
|
String |
getMobile()
Default mobile phone number
|
String |
getPager()
Default pager number
|
String |
getPrefered()
Default primary phone number
|
String |
getRadio()
Default radio phone number
|
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to the
T:System.Collections.ICollection . |
String |
getTelex()
Default telex
|
String |
getTtyTdd()
Default Tty/Tdd
|
String |
getWork()
Default work phone number
|
String |
getWorkFax()
Default work fax number
|
int |
indexOf(Object value)
Determines the index of a specific item in the list.
|
int |
indexOf(PhoneNumber value)
Determines the index of a specific item in the list.
|
void |
insert(int index,
Object value)
Inserts an item to the list at the specified index.
|
void |
insert(int index,
PhoneNumber value)
Inserts an item to the list at the specified index.
|
void |
insertItem(int i,
Object o) |
boolean |
isFixedSize()
Gets a value indicating whether the list has a fixed size.
|
boolean |
isReadOnly()
Gets a value indicating whether the list is read-only.
|
boolean |
isSynchronized()
Gets a value indicating whether access to the
T:System.Collections.ICollection is synchronized (thread safe). |
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Returns an enumerator that iterates through a collection.
|
void |
remove(Object value)
Removes the first occurrence of a specific object from the list.
|
void |
remove(PhoneNumber value)
Removes the first occurrence of a specific object from the list.
|
void |
removeAt(int index)
Removes the list item at the specified index.
|
void |
removeItem(Object o) |
void |
set_Item(int index,
Object value)
Gets or sets the element at the specified index.
|
void |
set_Item(int index,
PhoneNumber value)
Gets or sets the element at the specified index.
|
void |
setAssistant(String value)
Default assistant phone number
|
void |
setCallback(String value)
Default callback phone number
|
void |
setCar(String value)
Default car phone number
|
void |
setCompany(String value)
Default company phone number
|
void |
setCustom(String value)
Default custom phone category
|
void |
setFax(String value)
Default fax number
|
void |
setHome(String value)
Default home phone number
|
void |
setHomeFax(String value)
Default home fax number
|
void |
setIsdn(String value)
Default isdn phone number
|
void |
setMobile(String value)
Default mobile phone number
|
void |
setPager(String value)
Default pager number
|
void |
setPrefered(String value)
Default primary phone number
|
void |
setRadio(String value)
Default radio phone number
|
void |
setTelex(String value)
Default telex
|
void |
setTtyTdd(String value)
Default Tty/Tdd
|
void |
setWork(String value)
Default work phone number
|
void |
setWorkFax(String value)
Default work fax number
|
int |
size()
Gets the number of elements contained in the
T:System.Collections.ICollection . |
public String getHome()
Default home phone number
public void setHome(String value)
Default home phone number
public String getWork()
Default work phone number
public void setWork(String value)
Default work phone number
public String getCustom()
Default custom phone category
public void setCustom(String value)
Default custom phone category
public String getPrefered()
Default primary phone number
public void setPrefered(String value)
Default primary phone number
public String getMobile()
Default mobile phone number
public void setMobile(String value)
Default mobile phone number
public String getFax()
Default fax number
public void setFax(String value)
Default fax number
public String getPager()
Default pager number
public void setPager(String value)
Default pager number
public String getCar()
Default car phone number
public void setCar(String value)
Default car phone number
public String getIsdn()
Default isdn phone number
public void setIsdn(String value)
Default isdn phone number
public String getTelex()
Default telex
public void setTelex(String value)
Default telex
public String getCallback()
Default callback phone number
public void setCallback(String value)
Default callback phone number
public String getRadio()
Default radio phone number
public void setRadio(String value)
Default radio phone number
public String getCompany()
Default company phone number
public void setCompany(String value)
Default company phone number
public String getTtyTdd()
Default Tty/Tdd
public void setTtyTdd(String value)
Default Tty/Tdd
public String getAssistant()
Default assistant phone number
public void setAssistant(String value)
Default assistant phone number
public String getWorkFax()
Default work fax number
public void setWorkFax(String value)
Default work fax number
public String getHomeFax()
Default home fax number
public void setHomeFax(String value)
Default home fax number
public int add(Object value)
Adds an item to the list.
value
- The T:System.Object
to add to the list.public void add(PhoneNumber value)
Adds an item to the list.
value
- The object to add to the list.public void insert(int index, Object value)
Inserts an item to the list at the specified index.
index
- The zero-based index at which value
should be inserted.value
- The T:System.Object
to insert into the list.
<filterpriority>2</filterpriority>
ArgumentOutOfRangeException
- index
is not a valid index in the list.NotSupportedException
- The list is read-only.-or- The list has a fixed size.NullReferenceException
- value
is null reference in the list.public void insert(int index, PhoneNumber value)
Inserts an item to the list at the specified index.
index
- The zero-based index at which value
should be inserted.value
- The T:System.Object
to insert into the list.public void set_Item(int index, Object value)
Gets or sets the element at the specified index.
set_Item
in interface com.aspose.ms.System.Collections.IList
index
- The zero-based index of the element to get or set.value
- The element at the specified index.public PhoneNumber get_Item(int index)
Gets or sets the element at the specified index.
get_Item
in interface com.aspose.ms.System.Collections.IList
index
- The zero-based index of the element to get or set.public void set_Item(int index, PhoneNumber value)
Gets or sets the element at the specified index.
index
- The zero-based index of the element to get or set.value
- The element at the specified index.public boolean contains(Object value)
Determines whether the list contains a specific value.
contains
in interface com.aspose.ms.System.Collections.IList
value
- The T:System.Object
to locate in the list.T:System.Object
is found in the list; otherwise, false.public boolean contains(PhoneNumber value)
Determines whether the list contains a specific value.
value
- The object to locate in the list.public void clear()
Removes all items from the list.
clear
in interface com.aspose.ms.System.Collections.IList
public int indexOf(Object value)
Determines the index of a specific item in the list.
indexOf
in interface com.aspose.ms.System.Collections.IList
value
- The T:System.Object
to locate in the list.value
if found in the list; otherwise, -1.public int indexOf(PhoneNumber value)
Determines the index of a specific item in the list.
value
- The T:System.Object
to locate in the list.value
if found in the list; otherwise, -1.public void remove(Object value)
Removes the first occurrence of a specific object from the list.
value
- The T:System.Object
to remove from the list.public void remove(PhoneNumber value)
Removes the first occurrence of a specific object from the list.
value
- The T:System.Object
to remove from the list.public void removeAt(int index)
Removes the list item at the specified index.
removeAt
in interface com.aspose.ms.System.Collections.IList
index
- The zero-based index of the item to remove.public boolean isReadOnly()
Gets a value indicating whether the list is read-only.
isReadOnly
in interface com.aspose.ms.System.Collections.IList
public boolean isFixedSize()
Gets a value indicating whether the list has a fixed size.
isFixedSize
in interface com.aspose.ms.System.Collections.IList
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies the elements of the T:System.Collections.ICollection
to an T:System.Array
, starting at a particular T:System.Array
index.
copyTo
in interface com.aspose.ms.System.Collections.ICollection
array
- The one-dimensional array that is the destination of the elements copied from T:System.Collections.ICollection
.
The array must have zero-based indexing.index
- The zero-based index in array
at which copying begins.public void copyTo(PhoneNumber[] 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 int size()
Gets the number of elements contained in the T:System.Collections.ICollection
.
size
in interface com.aspose.ms.System.Collections.ICollection
T:System.Collections.ICollection
.public Object getSyncRoot()
Gets an object that can be used to synchronize access to the T:System.Collections.ICollection
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection
T:System.Collections.ICollection
.public boolean isSynchronized()
Gets a value indicating whether access to the T:System.Collections.ICollection
is synchronized (thread safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection
T:System.Collections.ICollection
is synchronized (thread safe); otherwise, false.public com.aspose.ms.System.Collections.IEnumerator iterator()
Returns an enumerator that iterates through a collection.
public int addItem(Object o)
addItem
in interface com.aspose.ms.System.Collections.IList
public void removeItem(Object o)
removeItem
in interface com.aspose.ms.System.Collections.IList
public void insertItem(int i, Object o)
insertItem
in interface com.aspose.ms.System.Collections.IList
Copyright (c) 2008-2017 Aspose Pty Ltd. All Rights Reserved.