Export (0) Print
Expand All

Contact members

Represents a contact. The properties that are available on contacts are defined by the ContactSchema class.

The following tables list the members exposed by the Contact type.

  Name Description
Public method Contact Initializes an unsaved local instance of the Contact class. To bind to an existing contact, use the Bind method instead.
Top

  Name Description
Public property Alias Gets the contact's alias. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property AllowedResponseActions Gets a value that indicates which response actions are allowed on this item. Examples of response actions are Reply and Forward. (inherited from Item)
Public property ArchiveTag Gets or sets the archive tag. The ArchiveTag property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property AssistantName Gets or sets the name of the contact's assistant.
Public property Attachments Gets a list of the attachments to this item. (inherited from Item)
Public property Birthday Gets or sets the birthday of the contact.
Public property Body Gets or sets the body of this item. (inherited from Item)
Public property BusinessHomePage Gets or sets the business home page of the contact.
Public property Categories Gets or sets the list of categories that are associated with this item. (inherited from Item)
Public property Children Gets or sets a list of children for the contact.
Public property Companies Gets or sets a list of companies for the contact.
Public property CompanyName Gets or sets the company name of the contact.
Public property CompleteName Gets or sets the complete name of the contact.
Public property ContactSource Gets the source of the contact.
Public property ConversationId Gets the ID of the conversation that this item is part of. (inherited from Item)
Public property Culture Gets or sets the culture that is associated with this item. (inherited from Item)
Public property DateTimeCreated Gets the date and time at which this item was created. (inherited from Item)
Public property DateTimeReceived Gets the time when this item was received. (inherited from Item)
Public property DateTimeSent Gets the date and time at which this item was sent. (inherited from Item)
Public property Department Gets or sets the department of the contact.
Public property DirectoryId Gets the contact's directory identifier. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property DirectoryPhoto Gets the contact's photo. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property DirectReports Gets the contact's direct reports. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property DisplayCc Gets a text string that lists the Cc recipients of this item. (inherited from Item)
Public property DisplayName Gets or sets the display name of the contact.
Public property DisplayTo Gets a text string that lists the To recipients of this item. (inherited from Item)
Public property EffectiveRights Gets a value that indicates the effective rights that the current authenticated user has on this item. (inherited from Item)
Public property EmailAddresses Gets an indexed list of e-mail addresses for the contact.
Public property EntityExtractionResult Gets the entity extraction information on the item. The EntityExtractionResult property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property ExtendedProperties Gets a list of extended properties that are defined on this item. (inherited from Item)
Public property FileAs Gets or sets the name under which this contact is filed. This property can be manually set or can be automatically calculated based on the value of the FileAsMapping property.
Public property FileAsMapping Gets or sets a value that indicates how the FileAs property should be automatically calculated.
Public property Flag Gets or sets a flag value that indicates the status, start date, due date, or completion date for an item. The Flag property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property Generation Gets or sets the generation of the contact.
Public property GivenName Gets or sets the given name of the contact.
Public property HasAttachments Gets a value that indicates whether the item has attachments. (inherited from Item)
Public property HasPicture Gets a value that indicates whether the contact has a picture.
Public property IconIndex Gets the icon index. The IconIndex property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property Id Gets the ID of this item. (inherited from Item)
Public property ImAddresses Gets an indexed list of instant messaging (IM) addresses for the contact.
Public property Importance Gets or sets the importance of this item. (inherited from Item)
Public property Initials Gets or sets the initials of the contact.
Public property InReplyTo Gets or sets the In-Reply-To reference of this item. (inherited from Item)
Public property InstanceKey Gets the item instance key. The InstanceKey property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property InternetMessageHeaders Gets a list of Internet headers for this item. To get the entire collection of Internet message headers, use the PR_TRANSPORT_MESSAGE_HEADERS property. (inherited from Item)
Public property IsAssociated Gets a value that indicates whether this is an associated item. (inherited from Item)
Public property IsAttachment Gets a value that indicates whether the item is an attachment. (inherited from Item)
Public property IsDirty Gets a value that indicates whether the object has been modified. (inherited from ServiceObject)
Public property IsDraft Gets a value that indicates whether the item is a draft. An item is a draft when it has not yet been sent. (inherited from Item)
Public property IsFromMe Gets a value that indicates whether the item has been sent by the current authenticated user. (inherited from Item)
Public property IsNew Gets a value that indicates whether this object is a real store item or a local object that has yet to be saved. (inherited from Item)
Public property IsReminderSet Gets or sets a value that indicates whether a reminder is set for this item. (inherited from Item)
Public property IsResend Gets a value that indicates whether the item is a resend of another item. (inherited from Item)
Public property IsSubmitted Gets a value that indicates whether the message has been submitted to be sent. (inherited from Item)
Public property IsUnmodified Gets a value that indicates whether the item has been modified since it was created. (inherited from Item)
Public property Item Gets the value of the specified property in this instance. (inherited from ServiceObject)
Public property ItemClass Gets or sets the custom class name of this item. (inherited from Item)
Public property JobTitle Gets or sets the job title of the contact.
Public property LastModifiedName Gets the name of the user who last modified this item. (inherited from Item)
Public property LastModifiedTime Gets the date and time that this item was last modified. (inherited from Item)
Public property Manager Gets or sets the name of the contact's manager.
Public property ManagerMailbox Gets the email address of contact's direct manager. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property MiddleName Gets or sets the middle name of the contact.
Public property Mileage Gets or sets the mileage for the contact.
Public property MimeContent Gets the MIME content of this item. (inherited from Item)
Public property MSExchangeCertificate Gets a binary array encoding the contact’s Microsoft Exchange certificate. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property NickName Gets or sets the nickname of the contact.
Public property NormalizedBody Gets the message body of an item that has been converted to a normalized value. The NormalizedBody property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property Notes Gets the notes property of a contact. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property OfficeLocation Gets or sets the location of the contact's office.
Public property ParentFolderId Gets the ID of the parent folder of this item. (inherited from Item)
Public property PhoneNumbers Gets an indexed list of telephone numbers for the contact.
Public property PhoneticFirstName Gets a contact’s first name using the phonetic alphabet. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property PhoneticFullName Gets a contact’s full name, including first and last, using the phonetic alphabet. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property PhoneticLastName Gets a contact’s last name using the phonetic alphabet. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property PhysicalAddresses Gets an indexed list of physical addresses for the contact.
Public property PolicyTag Gets or sets the retention policy value. The PolicyTag property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property PostalAddressIndex Gets or sets the index of the contact's postal address. When set, PostalAddressIndex refers to an entry in the PhysicalAddresses property indexed list.
Public property Preview Gets the item preview. The Preview property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property Profession Gets or sets the profession of the contact.
Public property ReminderDueBy Gets or sets the date and time when the reminder is due for this item. (inherited from Item)
Public property ReminderMinutesBeforeStart Gets or sets the number of minutes before the start of this item that the reminder should be triggered. (inherited from Item)
Public property RetentionDate Gets the date until which an item must be preserved. The RetentionDate property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property Schema Gets the schema that is associated with this type of object. (inherited from ServiceObject)
Public property Sensitivity Gets the sensitivity of this item. (inherited from Item)
Public property Service Gets the Exchange service for this object. (inherited from ServiceObject)
Public property Size Gets the size of this item. (inherited from Item)
Public property SpouseName Gets or sets the name of the contact's spouse/partner.
Public property StoreEntryId Gets the entry ID of the store that hosts the item. The StoreEntryId property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property Subject Gets or sets the subject of this item. (inherited from Item)
Public property Surname Gets or sets the surname of the contact.
Public property TextBody Gets the text body of the item. The TextBody property is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. (inherited from Item)
Public property UniqueBody Gets the body part that is unique to the conversation that this item is part of. (inherited from Item)
Public property UserSMIMECertificate Gets a binary array encoding the contact’s SMIME certificate. This property was introduced in Exchange Server 2010 SP2 and the Exchange Web Services (EWS) Managed API 1.2.
Public property WebClientEditFormQueryString Gets the query string that can be appended to the Outlook Web App URL to open this item in a web browser. (inherited from Item)
Public property WebClientReadFormQueryString Gets the query string that should be appended to the Exchange web client URL to open this item by using the appropriate read form in a web browser. (inherited from Item)
Public property WeddingAnniversary Gets or sets the date of the contact's wedding anniversary.
Top

  Name Description
Public method Static member Bind(ExchangeService, ItemId) Binds to an existing contact and loads its first class properties. Calling this method results in a call to Exchange Web Services (EWS).
Public method Static member Bind(ExchangeService, ItemId, PropertySet) Binds to an existing contact and loads the specified set of properties. Calling this method results in a call to Exchange Web Services (EWS).
Public method Copy(FolderId) Creates a copy of this item in the specified folder. Calling this method results in a call to Exchange Web Services (EWS). (inherited from Item)
Public method Copy(WellKnownFolderName) Creates a copy of this item in the specified folder. Calling this method results in a call to Exchange Web Services (EWS). (inherited from Item)
Public method Delete(DeleteMode) Deletes the item. Calling this method results in a call to Exchange Web Services (EWS). (inherited from Item)
Public method Delete(DeleteMode, Boolean) Deletes the item. Calling this method results in a call to EWS. (inherited from Item)
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetContactPictureAttachment Returns the file attachment that contains the contact's picture.
Public method GetHashCode (inherited from Object)
Public method GetLoadedPropertyDefinitions Provides the collection of loaded property definitions. (inherited from ServiceObject)
Public method GetType (inherited from Object)
Public method Load() Loads the first-class properties. (inherited from ServiceObject)
Public method Load(PropertySet) Loads the specified set of properties. (inherited from ServiceObject)
Protected method MemberwiseClone (inherited from Object)
Public method Move(FolderId) Moves this item to the specified folder. Calling this method results in a call to Exchange Web Services (EWS). (inherited from Item)
Public method Move(WellKnownFolderName) Moves this item to the specified folder. Calling this method results in a call to Exchange Web Services (EWS). (inherited from Item)
Public method RemoveContactPicture Removes the contact's picture.
Public method RemoveExtendedProperty Removes an extended property. (inherited from Item)
Public method Save() Saves this item in the default folder based on the item's type. Calling this method results in at least one call to Exchange Web Services (EWS). Multiple calls to EWS might be made if attachments have been added. (inherited from Item)
Public method Save(FolderId) Saves this item in a specific folder. Calling this method results in at least one call to Exchange Web Services (EWS). Multiple calls to EWS might be made if attachments have been added. (inherited from Item)
Public method Save(WellKnownFolderName) Saves this item in a specific folder. Calling this method results in at least one call to Exchange Web Services (EWS). Multiple calls to EWS might be made if attachments have been added. (inherited from Item)
Public method SetContactPicture([]) Sets the contact's picture by using the specified byte array.
Public method SetContactPicture(Stream) Sets the contact's picture by using the specified stream.
Public method SetContactPicture(String) Sets the contact's picture by using the specified file.
Public method SetExtendedProperty Sets the specified extended property to the specified value. (inherited from Item)
Public method ToString (inherited from Object)
Public method TryGetProperty(PropertyDefinitionBase, Object) Tries to get the value of a specified property. (inherited from ServiceObject)
Public method TryGetProperty<T>(PropertyDefinitionBase, T) Tries to get the value of a specified property. (inherited from ServiceObject)
Public method Update(ConflictResolutionMode) Applies the local changes that have been made to this item. Calling this method results in at least one call to Exchange Web Services (EWS). Multiple calls to EWS might be made if attachments have been added or removed. (inherited from Item)
Public method Update(ConflictResolutionMode, Boolean) Applies the local changes that have been made to this item. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added or removed. (inherited from Item)
Top
Show:
© 2014 Microsoft