Aspose::Email::Mapi::MapiContactNamePropertySet Class Referencefinal

The properties are used to specify the name of the person represented by the contact More...

Inherits Aspose::Email::Mapi::MapiContactPropertySet.

Public Member Functions

System::String get_Nickname ()
 Gets the nickname of the contact More...
 
void set_Nickname (System::String value)
 Sets the nickname of the contact More...
 
System::String get_Generation ()
 Gets the generation suffix of the contact More...
 
void set_Generation (System::String value)
 Sets the generation suffix of the contact More...
 
System::String get_DisplayNamePrefix ()
 Gets the title of the contact More...
 
void set_DisplayNamePrefix (System::String value)
 Sets the title of the contact More...
 
System::String get_Surname ()
 Gets the surname (family name) of the contact More...
 
void set_Surname (System::String value)
 Sets the surname (family name) of the contact More...
 
System::String get_MiddleName ()
 Gets the middle name of the contact More...
 
void set_MiddleName (System::String value)
 Sets the middle name of the contact More...
 
System::String get_GivenName ()
 Gets the given name (first name) of the contact More...
 
void set_GivenName (System::String value)
 Sets the given name (first name) of the contact More...
 
System::String get_Initials ()
 Gets the initials of the contact More...
 
void set_Initials (System::String value)
 Sets the initials of the contact More...
 
System::String get_DisplayName ()
 Gets the full name of the contact More...
 
void set_DisplayName (System::String value)
 Sets the full name of the contact More...
 
System::String get_FileUnder ()
 Gets the name under which to file this contact when displaying a list of contacts More...
 
void set_FileUnder (System::String value)
 Sets the name under which to file this contact when displaying a list of contacts More...
 
uint32_t get_FileUnderID ()
 Gets a value specifying how to generate and recompute the
See also
FileUnder
property when other properties are changed More...
 
void set_FileUnderID (uint32_t value)
 Sets a value specifying how to generate and recompute the
See also
FileUnder
property when other properties are changed More...
 
 MapiContactNamePropertySet ()
 Initializes a new instance of MapiContactNamePropertySet class More...
 
 MapiContactNamePropertySet (System::String givenName, System::String middleName, System::String surname)
 Initializes a new instance of MapiContactNamePropertySet class. More...
 
 MapiContactNamePropertySet (System::SharedPtr< MapiMessageItemBase > msg)
 Initializes a new instance of MapiContactNamePropertySet class More...
 
 MapiContactNamePropertySet (System::SharedPtr< MapiPropertyCollection > properties)
 Initializes a new instance of MapiContactNamePropertySet class More...
 
 MapiContactNamePropertySet (System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList > properties)
 Initializes a new instance of MapiContactNamePropertySet class More...
 
void ToVCard (System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList > vCardProperties)
 Converts this MapiContactNamePropertySet into vCard properties and adds them to the specified VCardHeaderList More...
 
void SetOwner (System::SharedPtr< MapiMessageItemBase > msg) override
 
- Public Member Functions inherited from Aspose::Email::Mapi::MapiContactPropertySet
System::String GetStringProperty (MapiNamedPropertyId nameId, System::String value)
 
void SetStringProperty (MapiNamedPropertyId nameId, System::String value, System::Guid psetId, System::String &prop)
 
bool GetBooleanProperty (MapiNamedPropertyId nameId, bool value)
 
void SetBooleanProperty (MapiNamedPropertyId nameId, bool value, System::Guid psetId, bool &prop)
 
System::DateTime GetDateTimeProperty (MapiNamedPropertyId nameId, System::DateTime value)
 
void SetDateTimeProperty (MapiNamedPropertyId nameId, System::DateTime value, System::Guid psetId, System::DateTime &prop)
 

Friends

class Aspose::Email::Tools::ContactConverter
 
class Aspose::Email::Mapi::MapiContact
 

Additional Inherited Members

- Protected Member Functions inherited from Aspose::Email::Mapi::MapiContactPropertySet
System::String GetStringProperty (int64_t tag, System::String value)
 
void SetStringProperty (int64_t tag, System::String value, System::String &prop)
 
void SetDateTimeProperty (int64_t tag, System::DateTime value, System::DateTime &prop)
 
- Protected Attributes inherited from Aspose::Email::Mapi::MapiContactPropertySet
System::SharedPtr< MapiMessageItemBasemsg
 

Detailed Description

The properties are used to specify the name of the person represented by the contact

Constructor & Destructor Documentation

◆ MapiContactNamePropertySet() [1/5]

Aspose::Email::Mapi::MapiContactNamePropertySet::MapiContactNamePropertySet ( )

Initializes a new instance of MapiContactNamePropertySet class

◆ MapiContactNamePropertySet() [2/5]

Aspose::Email::Mapi::MapiContactNamePropertySet::MapiContactNamePropertySet ( System::String  givenName,
System::String  middleName,
System::String  surname 
)

Initializes a new instance of MapiContactNamePropertySet class.

Parameters
givenNameThe string that represents a given name.
middleNameThe string that represents a middle name.
surnameThe string that represents a surname.

◆ MapiContactNamePropertySet() [3/5]

Aspose::Email::Mapi::MapiContactNamePropertySet::MapiContactNamePropertySet ( System::SharedPtr< MapiMessageItemBase msg)

Initializes a new instance of MapiContactNamePropertySet class

Parameters
msgA MapiMessage containing contact name properties

◆ MapiContactNamePropertySet() [4/5]

Aspose::Email::Mapi::MapiContactNamePropertySet::MapiContactNamePropertySet ( System::SharedPtr< MapiPropertyCollection properties)

Initializes a new instance of MapiContactNamePropertySet class

Parameters
propertiesA MapiPropertyCollection containing contact name properties

◆ MapiContactNamePropertySet() [5/5]

Aspose::Email::Mapi::MapiContactNamePropertySet::MapiContactNamePropertySet ( System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList >  properties)

Initializes a new instance of MapiContactNamePropertySet class

Parameters
propertiesA VCardHeaderList containing contact name properties

Member Function Documentation

◆ get_DisplayName()

System::String Aspose::Email::Mapi::MapiContactNamePropertySet::get_DisplayName ( )

Gets the full name of the contact

◆ get_DisplayNamePrefix()

System::String Aspose::Email::Mapi::MapiContactNamePropertySet::get_DisplayNamePrefix ( )

Gets the title of the contact

◆ get_FileUnder()

System::String Aspose::Email::Mapi::MapiContactNamePropertySet::get_FileUnder ( )

Gets the name under which to file this contact when displaying a list of contacts

◆ get_FileUnderID()

uint32_t Aspose::Email::Mapi::MapiContactNamePropertySet::get_FileUnderID ( )

Gets a value specifying how to generate and recompute the

See also
FileUnder
property when other properties are changed

◆ get_Generation()

System::String Aspose::Email::Mapi::MapiContactNamePropertySet::get_Generation ( )

Gets the generation suffix of the contact

◆ get_GivenName()

System::String Aspose::Email::Mapi::MapiContactNamePropertySet::get_GivenName ( )

Gets the given name (first name) of the contact

◆ get_Initials()

System::String Aspose::Email::Mapi::MapiContactNamePropertySet::get_Initials ( )

Gets the initials of the contact

◆ get_MiddleName()

System::String Aspose::Email::Mapi::MapiContactNamePropertySet::get_MiddleName ( )

Gets the middle name of the contact

◆ get_Nickname()

System::String Aspose::Email::Mapi::MapiContactNamePropertySet::get_Nickname ( )

Gets the nickname of the contact

◆ get_Surname()

System::String Aspose::Email::Mapi::MapiContactNamePropertySet::get_Surname ( )

Gets the surname (family name) of the contact

◆ set_DisplayName()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_DisplayName ( System::String  value)

Sets the full name of the contact

◆ set_DisplayNamePrefix()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_DisplayNamePrefix ( System::String  value)

Sets the title of the contact

◆ set_FileUnder()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_FileUnder ( System::String  value)

Sets the name under which to file this contact when displaying a list of contacts

◆ set_FileUnderID()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_FileUnderID ( uint32_t  value)

Sets a value specifying how to generate and recompute the

See also
FileUnder
property when other properties are changed

◆ set_Generation()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_Generation ( System::String  value)

Sets the generation suffix of the contact

◆ set_GivenName()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_GivenName ( System::String  value)

Sets the given name (first name) of the contact

◆ set_Initials()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_Initials ( System::String  value)

Sets the initials of the contact

◆ set_MiddleName()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_MiddleName ( System::String  value)

Sets the middle name of the contact

◆ set_Nickname()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_Nickname ( System::String  value)

Sets the nickname of the contact

◆ set_Surname()

void Aspose::Email::Mapi::MapiContactNamePropertySet::set_Surname ( System::String  value)

Sets the surname (family name) of the contact

◆ SetOwner()

void Aspose::Email::Mapi::MapiContactNamePropertySet::SetOwner ( System::SharedPtr< MapiMessageItemBase msg)
overridevirtual

◆ ToVCard()

void Aspose::Email::Mapi::MapiContactNamePropertySet::ToVCard ( System::SharedPtr< Aspose::Email::PersonalInfo::VCard::VCardHeaderList >  vCardProperties)

Converts this MapiContactNamePropertySet into vCard properties and adds them to the specified VCardHeaderList

Parameters
vCardPropertiesA VCardHeaderList

Friends And Related Function Documentation

◆ Aspose::Email::Mapi::MapiContact

friend class Aspose::Email::Mapi::MapiContact
friend

◆ Aspose::Email::Tools::ContactConverter

friend class Aspose::Email::Tools::ContactConverter
friend