Aspose::Email::PersonalInfo::PhoneNumberList Class Reference

List of phone numbers for a contact. More...

Inherits System::Collections::Generic::IList< System::SharedPtr< Aspose::Email::PersonalInfo::PhoneNumber > >.

Public Member Functions

System::String get_Home ()
 Default home phone number More...
 
void set_Home (System::String value)
 Default home phone number More...
 
System::String get_Work ()
 Default work phone number More...
 
void set_Work (System::String value)
 Default work phone number More...
 
System::String get_Custom ()
 Default custom phone category More...
 
void set_Custom (System::String value)
 Default custom phone category More...
 
System::String get_Prefered ()
 Default primary phone number More...
 
void set_Prefered (System::String value)
 Default primary phone number More...
 
System::String get_Mobile ()
 Default mobile phone number More...
 
void set_Mobile (System::String value)
 Default mobile phone number More...
 
System::String get_Fax ()
 Default fax number More...
 
void set_Fax (System::String value)
 Default fax number More...
 
System::String get_Pager ()
 Default pager number More...
 
void set_Pager (System::String value)
 Default pager number More...
 
System::String get_Car ()
 Default car phone number More...
 
void set_Car (System::String value)
 Default car phone number More...
 
System::String get_Isdn ()
 Default isdn phone number More...
 
void set_Isdn (System::String value)
 Default isdn phone number More...
 
System::String get_Telex ()
 Default telex More...
 
void set_Telex (System::String value)
 Default telex More...
 
System::String get_Callback ()
 Default callback phone number More...
 
void set_Callback (System::String value)
 Default callback phone number More...
 
System::String get_Radio ()
 Default radio phone number More...
 
void set_Radio (System::String value)
 Default radio phone number More...
 
System::String get_Company ()
 Default company phone number More...
 
void set_Company (System::String value)
 Default company phone number More...
 
System::String get_TtyTdd ()
 Default Tty/Tdd More...
 
void set_TtyTdd (System::String value)
 Default Tty/Tdd More...
 
System::String get_Assistant ()
 Default assistant phone number More...
 
void set_Assistant (System::String value)
 Default assistant phone number More...
 
System::String get_WorkFax ()
 Default work fax number More...
 
void set_WorkFax (System::String value)
 Default work fax number More...
 
System::String get_HomeFax ()
 Default home fax number More...
 
void set_HomeFax (System::String value)
 Default home fax number More...
 
bool get_IsReadOnly () const override
 Gets a value indicating whether the list is read-only. More...
 
int32_t get_Count () const override
 Gets the number of elements contained in the T:System::Collections::ICollection. More...
 
void Add (const System::SharedPtr< PhoneNumber > &value) override
 Adds an item to the list. More...
 
void Insert (int32_t index, const System::SharedPtr< PhoneNumber > &value) override
 Inserts an item to the list at the specified index. More...
 
System::SharedPtr< PhoneNumberidx_get (int32_t index) const override
 Gets the element at the specified index. More...
 
void idx_set (int32_t index, System::SharedPtr< PhoneNumber > value) override
 Sets the element at the specified index. More...
 
bool Contains (const System::SharedPtr< PhoneNumber > &value) const override
 Determines whether the list contains a specific value. More...
 
void Clear () override
 Removes all items from the list. More...
 
int32_t IndexOf (const System::SharedPtr< PhoneNumber > &value) const override
 Determines the index of a specific item in the list. More...
 
bool Remove (const System::SharedPtr< PhoneNumber > &value) override
 Removes the first occurrence of a specific object from the list. More...
 
void RemoveAt (int32_t index) override
 Removes the list item at the specified index. More...
 
void CopyTo (System::ArrayPtr< System::SharedPtr< PhoneNumber >> array, int32_t index) override
 Copies the elements to an array, starting at a particular array index. More...
 
System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< PhoneNumber > > > GetEnumerator () override
 Returns an enumerator that iterates through a collection. More...
 
 PhoneNumberList ()
 

Protected Member Functions

virtual ~PhoneNumberList ()
 

Detailed Description

List of phone numbers for a contact.

Constructor & Destructor Documentation

◆ PhoneNumberList()

Aspose::Email::PersonalInfo::PhoneNumberList::PhoneNumberList ( )

◆ ~PhoneNumberList()

virtual Aspose::Email::PersonalInfo::PhoneNumberList::~PhoneNumberList ( )
protectedvirtual

Member Function Documentation

◆ Add()

void Aspose::Email::PersonalInfo::PhoneNumberList::Add ( const System::SharedPtr< PhoneNumber > &  value)
override

Adds an item to the list.

Parameters
valueThe T:System::Object to add to the list.
Returns
The position into which the new element was inserted.

◆ Clear()

void Aspose::Email::PersonalInfo::PhoneNumberList::Clear ( )
override

Removes all items from the list.

◆ Contains()

bool Aspose::Email::PersonalInfo::PhoneNumberList::Contains ( const System::SharedPtr< PhoneNumber > &  value) const
override

Determines whether the list contains a specific value.

Parameters
valueThe object to locate in the list.
Returns
true if the object is found in the list; otherwise, false.

◆ CopyTo()

void Aspose::Email::PersonalInfo::PhoneNumberList::CopyTo ( System::ArrayPtr< System::SharedPtr< PhoneNumber >>  array,
int32_t  index 
)
override

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

Parameters
arrayThe one-dimensional array that is the destination of the elements copied from collections. The array must have zero-based indexing.
indexThe zero-based index in array at which copying begins.

◆ get_Assistant()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Assistant ( )

Default assistant phone number

◆ get_Callback()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Callback ( )

Default callback phone number

◆ get_Car()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Car ( )

Default car phone number

◆ get_Company()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Company ( )

Default company phone number

◆ get_Count()

int32_t Aspose::Email::PersonalInfo::PhoneNumberList::get_Count ( ) const
override

Gets the number of elements contained in the T:System::Collections::ICollection.

Returns
The number of elements contained in the T:System::Collections::ICollection.

◆ get_Custom()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Custom ( )

Default custom phone category

◆ get_Fax()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Fax ( )

Default fax number

◆ get_Home()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Home ( )

Default home phone number

◆ get_HomeFax()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_HomeFax ( )

Default home fax number

◆ get_Isdn()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Isdn ( )

Default isdn phone number

◆ get_IsReadOnly()

bool Aspose::Email::PersonalInfo::PhoneNumberList::get_IsReadOnly ( ) const
override

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

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

◆ get_Mobile()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Mobile ( )

Default mobile phone number

◆ get_Pager()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Pager ( )

Default pager number

◆ get_Prefered()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Prefered ( )

Default primary phone number

◆ get_Radio()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Radio ( )

Default radio phone number

◆ get_Telex()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Telex ( )

Default telex

◆ get_TtyTdd()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_TtyTdd ( )

Default Tty/Tdd

◆ get_Work()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_Work ( )

Default work phone number

◆ get_WorkFax()

System::String Aspose::Email::PersonalInfo::PhoneNumberList::get_WorkFax ( )

Default work fax number

◆ GetEnumerator()

System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<PhoneNumber> > > Aspose::Email::PersonalInfo::PhoneNumberList::GetEnumerator ( )
override

Returns an enumerator that iterates through a collection.

Returns
An T:System::Collections::IEnumerator object that can be used to iterate through the collection.

◆ idx_get()

System::SharedPtr<PhoneNumber> Aspose::Email::PersonalInfo::PhoneNumberList::idx_get ( int32_t  index) const
override

Gets the element at the specified index.

Parameters
indexThe zero-based index of the element to get or set.
Returns
The element at the specified index.

◆ idx_set()

void Aspose::Email::PersonalInfo::PhoneNumberList::idx_set ( int32_t  index,
System::SharedPtr< PhoneNumber value 
)
override

Sets the element at the specified index.

Parameters
indexThe zero-based index of the element to get or set.
valueThe element at the specified index.

◆ IndexOf()

int32_t Aspose::Email::PersonalInfo::PhoneNumberList::IndexOf ( const System::SharedPtr< PhoneNumber > &  value) const
override

Determines the index of a specific item in the list.

Parameters
valueThe T:System::Object to locate in the list.
Returns
The index of value if found in the list; otherwise, -1.

◆ Insert()

void Aspose::Email::PersonalInfo::PhoneNumberList::Insert ( int32_t  index,
const System::SharedPtr< PhoneNumber > &  value 
)
override

Inserts an item to the list at the specified index.

Parameters
indexThe zero-based index at which value should be inserted.
valueThe T:System::Object to insert into the list.

◆ Remove()

bool Aspose::Email::PersonalInfo::PhoneNumberList::Remove ( const System::SharedPtr< PhoneNumber > &  value)
override

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

Parameters
valueThe T:System::Object to remove from the list.

◆ RemoveAt()

void Aspose::Email::PersonalInfo::PhoneNumberList::RemoveAt ( int32_t  index)
override

Removes the list item at the specified index.

Parameters
indexThe zero-based index of the item to remove.

◆ set_Assistant()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Assistant ( System::String  value)

Default assistant phone number

◆ set_Callback()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Callback ( System::String  value)

Default callback phone number

◆ set_Car()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Car ( System::String  value)

Default car phone number

◆ set_Company()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Company ( System::String  value)

Default company phone number

◆ set_Custom()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Custom ( System::String  value)

Default custom phone category

◆ set_Fax()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Fax ( System::String  value)

Default fax number

◆ set_Home()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Home ( System::String  value)

Default home phone number

◆ set_HomeFax()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_HomeFax ( System::String  value)

Default home fax number

◆ set_Isdn()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Isdn ( System::String  value)

Default isdn phone number

◆ set_Mobile()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Mobile ( System::String  value)

Default mobile phone number

◆ set_Pager()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Pager ( System::String  value)

Default pager number

◆ set_Prefered()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Prefered ( System::String  value)

Default primary phone number

◆ set_Radio()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Radio ( System::String  value)

Default radio phone number

◆ set_Telex()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Telex ( System::String  value)

Default telex

◆ set_TtyTdd()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_TtyTdd ( System::String  value)

Default Tty/Tdd

◆ set_Work()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_Work ( System::String  value)

Default work phone number

◆ set_WorkFax()

void Aspose::Email::PersonalInfo::PhoneNumberList::set_WorkFax ( System::String  value)

Default work fax number