Aspose::Email::PersonalInfo::AssociatedPersonsList Class Reference

List of associated persons for a contact More...

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

Public Member Functions

System::String get_Spouse ()
 Spouse More...
 
void set_Spouse (System::String value)
 Spouse More...
 
System::String get_Child ()
 Child More...
 
void set_Child (System::String value)
 Child More...
 
System::String get_Mother ()
 Mother More...
 
void set_Mother (System::String value)
 Mother More...
 
System::String get_Father ()
 Father More...
 
void set_Father (System::String value)
 Father More...
 
System::String get_Parent ()
 Parent More...
 
void set_Parent (System::String value)
 Parent More...
 
System::String get_Brother ()
 Brother More...
 
void set_Brother (System::String value)
 Brother More...
 
System::String get_Sister ()
 Sister More...
 
void set_Sister (System::String value)
 Sister More...
 
System::String get_Friend ()
 Default friend More...
 
void set_Friend (System::String value)
 Default friend More...
 
System::String get_Relative ()
 Relative More...
 
void set_Relative (System::String value)
 Relative More...
 
System::String get_Manager ()
 Default manager More...
 
void set_Manager (System::String value)
 Default manager More...
 
System::String get_Assistant ()
 Default assistant More...
 
void set_Assistant (System::String value)
 Default assistant More...
 
System::String get_ReferredBy ()
 Default referred by More...
 
void set_ReferredBy (System::String value)
 Default referred by More...
 
System::String get_Partner ()
 Default partner More...
 
void set_Partner (System::String value)
 Default partner More...
 
System::String get_DomesticPartner ()
 Default domestic partner More...
 
void set_DomesticPartner (System::String value)
 Default domestic partner 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...
 
System::SharedPtr< System::Object > get_SyncRoot () const
 Gets an object that can be used to synchronize access to the T:System::Collections::ICollection. More...
 
bool get_IsSynchronized ()
 Gets a value indicating whether access to the T:System::Collections::ICollection is synchronized (thread safe). More...
 
 AssociatedPersonsList ()
 
void Add (const System::SharedPtr< AssociatedPerson > &value) override
 Adds an item to the list. More...
 
void Insert (int32_t index, const System::SharedPtr< AssociatedPerson > &value) override
 Inserts an item to the list at the specified index. More...
 
System::SharedPtr< AssociatedPersonidx_get (int32_t index) const override
 Gets the element at the specified index. More...
 
void idx_set (int32_t index, System::SharedPtr< AssociatedPerson > value) override
 Sets the element at the specified index. More...
 
bool Contains (const System::SharedPtr< AssociatedPerson > &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< AssociatedPerson > &value) const override
 Determines the index of a specific item in the list. More...
 
bool Remove (const System::SharedPtr< AssociatedPerson > &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< AssociatedPerson >> 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< AssociatedPerson > > > GetEnumerator () override
 Returns an enumerator that iterates through a collection. More...
 

Protected Member Functions

virtual ~AssociatedPersonsList ()
 

Detailed Description

List of associated persons for a contact

Constructor & Destructor Documentation

◆ AssociatedPersonsList()

Aspose::Email::PersonalInfo::AssociatedPersonsList::AssociatedPersonsList ( )

◆ ~AssociatedPersonsList()

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

Member Function Documentation

◆ Add()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::Add ( const System::SharedPtr< AssociatedPerson > &  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::AssociatedPersonsList::Clear ( )
override

Removes all items from the list.

◆ Contains()

bool Aspose::Email::PersonalInfo::AssociatedPersonsList::Contains ( const System::SharedPtr< AssociatedPerson > &  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::AssociatedPersonsList::CopyTo ( System::ArrayPtr< System::SharedPtr< AssociatedPerson >>  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::AssociatedPersonsList::get_Assistant ( )

Default assistant

◆ get_Brother()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Brother ( )

Brother

◆ get_Child()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Child ( )

Child

◆ get_Count()

int32_t Aspose::Email::PersonalInfo::AssociatedPersonsList::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_DomesticPartner()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_DomesticPartner ( )

Default domestic partner

◆ get_Father()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Father ( )

Father

◆ get_Friend()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Friend ( )

Default friend

◆ get_IsReadOnly()

bool Aspose::Email::PersonalInfo::AssociatedPersonsList::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_IsSynchronized()

bool Aspose::Email::PersonalInfo::AssociatedPersonsList::get_IsSynchronized ( )

Gets a value indicating whether access to the T:System::Collections::ICollection is synchronized (thread safe).

Returns
true if access to the T:System::Collections::ICollection is synchronized (thread safe); otherwise, false.

◆ get_Manager()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Manager ( )

Default manager

◆ get_Mother()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Mother ( )

Mother

◆ get_Parent()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Parent ( )

Parent

◆ get_Partner()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Partner ( )

Default partner

◆ get_ReferredBy()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_ReferredBy ( )

Default referred by

◆ get_Relative()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Relative ( )

Relative

◆ get_Sister()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Sister ( )

Sister

◆ get_Spouse()

System::String Aspose::Email::PersonalInfo::AssociatedPersonsList::get_Spouse ( )

Spouse

◆ get_SyncRoot()

System::SharedPtr<System::Object> Aspose::Email::PersonalInfo::AssociatedPersonsList::get_SyncRoot ( ) const

Gets an object that can be used to synchronize access to the T:System::Collections::ICollection.

Returns
An object that can be used to synchronize access to the T:System::Collections::ICollection.

◆ GetEnumerator()

System::SharedPtr<System::Collections::Generic::IEnumerator<System::SharedPtr<AssociatedPerson> > > Aspose::Email::PersonalInfo::AssociatedPersonsList::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<AssociatedPerson> Aspose::Email::PersonalInfo::AssociatedPersonsList::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::AssociatedPersonsList::idx_set ( int32_t  index,
System::SharedPtr< AssociatedPerson 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::AssociatedPersonsList::IndexOf ( const System::SharedPtr< AssociatedPerson > &  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::AssociatedPersonsList::Insert ( int32_t  index,
const System::SharedPtr< AssociatedPerson > &  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::AssociatedPersonsList::Remove ( const System::SharedPtr< AssociatedPerson > &  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::AssociatedPersonsList::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::AssociatedPersonsList::set_Assistant ( System::String  value)

Default assistant

◆ set_Brother()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Brother ( System::String  value)

Brother

◆ set_Child()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Child ( System::String  value)

Child

◆ set_DomesticPartner()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_DomesticPartner ( System::String  value)

Default domestic partner

◆ set_Father()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Father ( System::String  value)

Father

◆ set_Friend()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Friend ( System::String  value)

Default friend

◆ set_Manager()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Manager ( System::String  value)

Default manager

◆ set_Mother()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Mother ( System::String  value)

Mother

◆ set_Parent()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Parent ( System::String  value)

Parent

◆ set_Partner()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Partner ( System::String  value)

Default partner

◆ set_ReferredBy()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_ReferredBy ( System::String  value)

Default referred by

◆ set_Relative()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Relative ( System::String  value)

Relative

◆ set_Sister()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Sister ( System::String  value)

Sister

◆ set_Spouse()

void Aspose::Email::PersonalInfo::AssociatedPersonsList::set_Spouse ( System::String  value)

Spouse