Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a contact. Properties available on contacts are defined in the ContactSchema class.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Initializes an unsaved local instance of . To bind to an existing contact, use Contact.Bind() instead.

    Parameters

    • service: ExchangeService

      The ExchangeService object to which the contact will be bound.

    Returns Contact

  • Initializes an unsaved local instance of . To bind to an existing contact, use Contact.Bind() instead.

    internal

    Initializes a new instance of the Contact class.

    Parameters

    Returns Contact

Properties

Static Private ContactPictureName

ContactPictureName: string

Accessors

Alias

  • get Alias(): string
  • Gets the Alias from the directory

    Returns string

AllowedResponseActions

  • Gets a value indicating which response actions are allowed on this item. Examples of response actions are Reply and Forward.

    Returns ResponseActions

ArchiveTag

  • Gets or sets the archive tag.

    Returns ArchiveTag

  • Gets or sets the archive tag.

    Parameters

    Returns void

AssistantName

  • get AssistantName(): string
  • set AssistantName(value: string): void
  • Gets or sets the contact's assistant name.

    Returns string

  • Gets or sets the contact's assistant name.

    Parameters

    • value: string

    Returns void

Attachments

Birthday

  • Gets or sets the birthday of the contact.

    Returns DateTime

  • Gets or sets the birthday of the contact.

    Parameters

    Returns void

Body

  • Gets or sets the body of this item.

    Returns MessageBody

  • Gets or sets the body of this item.

    Parameters

    Returns void

BusinessHomePage

  • get BusinessHomePage(): string
  • set BusinessHomePage(value: string): void
  • Gets or sets the business home page of the contact.

    Returns string

  • Gets or sets the business home page of the contact.

    Parameters

    • value: string

    Returns void

Categories

  • Gets or sets the list of categories associated with this item.

    Returns StringList

  • Gets or sets the list of categories associated with this item.

    Parameters

    Returns void

Children

  • Gets or sets a list of children for the contact.

    Returns StringList

  • Gets or sets a list of children for the contact.

    Parameters

    Returns void

Companies

  • Gets or sets a list of companies for the contact.

    Returns StringList

  • Gets or sets a list of companies for the contact.

    Parameters

    Returns void

CompanyName

  • get CompanyName(): string
  • set CompanyName(value: string): void
  • Gets or sets the compnay name of the contact.

    Returns string

  • Gets or sets the compnay name of the contact.

    Parameters

    • value: string

    Returns void

CompleteName

  • Gets the complete name of the contact.

    Returns CompleteName

ContactSource

  • Gets the source of the contact.

    Returns ContactSource

ConversationId

  • Gets the Id of the conversation this item is part of.

    Returns ConversationId

Culture

  • get Culture(): string
  • set Culture(value: string): void
  • Gets or sets the culture associated with this item.

    Returns string

  • Gets or sets the culture associated with this item.

    Parameters

    • value: string

    Returns void

DateTimeCreated

  • get DateTimeCreated(): Date
  • Gets the date and time this item was created.

    Returns Date

DateTimeReceived

  • get DateTimeReceived(): Date
  • Gets the time when this item was received.

    Returns Date

DateTimeSent

  • get DateTimeSent(): Date
  • Gets the date and time this item was sent.

    Returns Date

DefaultAffectedTaskOccurrences

  • internal

    Gets the default setting for how to treat affected task occurrences on Delete. Subclasses will override this for different default behavior.

    Returns AffectedTaskOccurrence

DefaultSendCancellationsMode

DefaultSendInvitationsMode

  • internal

    Gets the default settings for sending invitations on Save. Subclasses will override this for different default behavior.

    Returns SendInvitationsMode

DefaultSendInvitationsOrCancellationsMode

Department

  • get Department(): string
  • set Department(value: string): void
  • Gets or sets the department of the contact.

    Returns string

  • Gets or sets the department of the contact.

    Parameters

    • value: string

    Returns void

DirectReports

  • Get the direct reports mailbox information

    Returns EmailAddressCollection

DirectoryId

  • get DirectoryId(): string
  • Gets the DirectoryID as Guid or DN string

    Returns string

DirectoryPhoto

  • get DirectoryPhoto(): number[]
  • Gets the Photo from the directory Unstable: needs testing

    Returns number[]

DisplayCc

  • get DisplayCc(): string
  • Gets a text summarizing the Cc receipients of this item.

    Returns string

DisplayName

  • get DisplayName(): string
  • set DisplayName(value: string): void
  • Gets or sets the display name of the contact.

    Returns string

  • Gets or sets the display name of the contact.

    Parameters

    • value: string

    Returns void

DisplayTo

  • get DisplayTo(): string
  • Gets a text summarizing the To recipients of this item.

    Returns string

EffectiveRights

  • Gets a value indicating the effective rights the current authenticated user has on this item.

    Returns EffectiveRights

EmailAddresses

  • Gets an indexed list of e-mail addresses for the contact. For example, to set the first e-mail address, use the following syntax: EmailAddresses[EmailAddressKey.EmailAddress1] = "john.doe@contoso.com"

    Returns EmailAddressDictionary

EntityExtractionResult

ExtendedProperties

FileAs

  • get FileAs(): string
  • set FileAs(value: string): void
  • Gets or set the name under which this contact is filed as. FileAs can be manually set or can be automatically calculated based on the value of the FileAsMapping property.

    Returns string

  • Gets or set the name under which this contact is filed as. FileAs can be manually set or can be automatically calculated based on the value of the FileAsMapping property.

    Parameters

    • value: string

    Returns void

FileAsMapping

  • Gets or sets a value indicating how the FileAs property should be automatically calculated.

    Returns FileAsMapping

  • Gets or sets a value indicating how the FileAs property should be automatically calculated.

    Parameters

    Returns void

Flag

  • get Flag(): Flag
  • set Flag(value: Flag): void
  • Get or set the Flag value for this item.

    Returns Flag

  • Get or set the Flag value for this item.

    Parameters

    Returns void

Generation

  • get Generation(): string
  • set Generation(value: string): void
  • Gets or sets the generation of the contact.

    Returns string

  • Gets or sets the generation of the contact.

    Parameters

    • value: string

    Returns void

GivenName

  • get GivenName(): string
  • set GivenName(value: string): void
  • Gets or sets the given name of the contact.

    Returns string

  • Gets or sets the given name of the contact.

    Parameters

    • value: string

    Returns void

HasAttachments

  • get HasAttachments(): boolean
  • Gets a value indicating whether the item has attachments.

    Returns boolean

HasPicture

  • get HasPicture(): boolean
  • Gets a value indicating whether this contact has a picture associated with it.

    Returns boolean

IconIndex

  • Gets the icon index.

    Returns IconIndex

Id

  • Gets the Id of this item.

    Returns ItemId

ImAddresses

  • Gets an indexed list of Instant Messaging addresses for the contact. For example, to set the first IM address, use the following syntax: ImAddresses[ImAddressKey.ImAddress1] = "john.doe@contoso.com"

    Returns ImAddressDictionary

Importance

  • Gets or sets the importance of this item.

    Returns Importance

  • Gets or sets the importance of this item.

    Parameters

    Returns void

InReplyTo

  • get InReplyTo(): string
  • set InReplyTo(value: string): void
  • Gets or sets the In-Reply-To reference of this item.

    Returns string

  • Gets or sets the In-Reply-To reference of this item.

    Parameters

    • value: string

    Returns void

Initials

  • get Initials(): string
  • set Initials(value: string): void
  • Gets or sets the initials of the contact.

    Returns string

  • Gets or sets the initials of the contact.

    Parameters

    • value: string

    Returns void

InstanceKey

  • get InstanceKey(): number[]
  • Gets the item instance key.

    Returns number[]

InternetMessageHeaders

IsAssociated

  • get IsAssociated(): boolean
  • Gets a value indicating whether this is an associated item.

    Returns boolean

IsAttachment

  • get IsAttachment(): boolean
  • Gets a value indicating whether the item is an attachment.

    Returns boolean

IsDirty

  • get IsDirty(): boolean
  • Gets a value indicating whether the object has been modified and should be saved.

    Returns boolean

IsDraft

  • get IsDraft(): boolean
  • Gets a value indicating whether the item is is a draft. An item is a draft when it has not yet been sent.

    Returns boolean

IsFromMe

  • get IsFromMe(): boolean
  • Gets a value indicating whether the item has been sent by the current authenticated user.

    Returns boolean

IsNew

  • get IsNew(): boolean
  • Gets a value indicating whether this object is a real store item, or if it's a local object that has yet to be saved.

    Returns boolean

IsReminderSet

  • get IsReminderSet(): boolean
  • set IsReminderSet(value: boolean): void
  • Gets or sets a value indicating whether a reminder is set for this item.

    Returns boolean

  • Gets or sets a value indicating whether a reminder is set for this item.

    Parameters

    • value: boolean

    Returns void

IsResend

  • get IsResend(): boolean
  • Gets a value indicating whether the item is a resend of another item.

    Returns boolean

IsSubmitted

  • get IsSubmitted(): boolean
  • Gets a value indicating whether the message has been submitted to be sent.

    Returns boolean

IsUnmodified

  • get IsUnmodified(): boolean
  • Gets a value indicating whether the item has been modified since it was created.

    Returns boolean

ItemClass

  • get ItemClass(): string
  • set ItemClass(value: string): void
  • Gets or sets the custom class name of this item.

    Returns string

  • Gets or sets the custom class name of this item.

    Parameters

    • value: string

    Returns void

JobTitle

  • get JobTitle(): string
  • set JobTitle(value: string): void
  • Gets or sets the contact's job title.

    Returns string

  • Gets or sets the contact's job title.

    Parameters

    • value: string

    Returns void

LastModifiedName

  • get LastModifiedName(): string
  • Gets the name of the user who last modified this item.

    Returns string

LastModifiedTime

  • get LastModifiedTime(): Date
  • Gets the date and time this item was last modified.

    Returns Date

MSExchangeCertificate

  • get MSExchangeCertificate(): string[]
  • Gets the MSExchange certificate from the directory Unstable: needs testing //ref: cant use bytearray, using base64 decoded string instead - number[][]

    Returns string[]

Manager

  • get Manager(): string
  • set Manager(value: string): void
  • Gets or sets the name of the contact's manager.

    Returns string

  • Gets or sets the name of the contact's manager.

    Parameters

    • value: string

    Returns void

ManagerMailbox

  • Gets the manager mailbox information

    Returns EmailAddress

MiddleName

  • get MiddleName(): string
  • set MiddleName(value: string): void
  • Gets or sets the middle mame of the contact.

    Returns string

  • Gets or sets the middle mame of the contact.

    Parameters

    • value: string

    Returns void

Mileage

  • get Mileage(): string
  • set Mileage(value: string): void
  • Gets or sets the mileage for the contact.

    Returns string

  • Gets or sets the mileage for the contact.

    Parameters

    • value: string

    Returns void

MimeContent

  • Get or sets the MIME content of this item.

    Returns MimeContent

  • Get or sets the MIME content of this item.

    Parameters

    Returns void

NickName

  • get NickName(): string
  • set NickName(value: string): void
  • Gets or sets the nick name of the contact.

    Returns string

  • Gets or sets the nick name of the contact.

    Parameters

    • value: string

    Returns void

NormalizedBody

Notes

  • get Notes(): string
  • Get the Notes from the directory

    Returns string

OfficeLocation

  • get OfficeLocation(): string
  • set OfficeLocation(value: string): void
  • Gets or sets the location of the contact's office.

    Returns string

  • Gets or sets the location of the contact's office.

    Parameters

    • value: string

    Returns void

ParentAttachment

ParentFolderId

  • Gets the Id of the parent folder of this item.

    Returns FolderId

PhoneNumbers

  • Gets an indexed list of phone numbers for the contact. For example, to set the home phone number, use the following syntax: PhoneNumbers[PhoneNumberKey.HomePhone] = "phone number"

    Returns PhoneNumberDictionary

PhoneticFirstName

  • get PhoneticFirstName(): string
  • Gets the phonetic first name from the directory

    Returns string

PhoneticFullName

  • get PhoneticFullName(): string
  • Gets the full phonetic name from the directory

    Returns string

PhoneticLastName

  • get PhoneticLastName(): string
  • Gets the phonetic last name from the directory

    Returns string

PhysicalAddresses

  • Gets an indexed list of physical addresses for the contact. For example, to set the business address, use the following syntax: PhysicalAddresses[PhysicalAddressKey.Business] = new PhysicalAddressEntry()

    Returns PhysicalAddressDictionary

PolicyTag

  • Gets or sets the policy tag.

    Returns PolicyTag

  • Gets or sets the policy tag.

    Parameters

    Returns void

PostalAddressIndex

  • Gets or sets the index of the contact's postal address. When set, PostalAddressIndex refers to an entry in the PhysicalAddresses indexed list.

    Returns PhysicalAddressIndex

  • Gets or sets the index of the contact's postal address. When set, PostalAddressIndex refers to an entry in the PhysicalAddresses indexed list.

    Parameters

    Returns void

Preview

  • get Preview(): string
  • Gets the item Preview.

    Returns string

Profession

  • get Profession(): string
  • set Profession(value: string): void
  • Gets or sets the contact's profession.

    Returns string

  • Gets or sets the contact's profession.

    Parameters

    • value: string

    Returns void

PropertyBag

ReminderDueBy

  • get ReminderDueBy(): Date
  • set ReminderDueBy(value: Date): void
  • Gets or sets the date and time when the reminder is due for this item.

    Returns Date

  • Gets or sets the date and time when the reminder is due for this item.

    Parameters

    • value: Date

    Returns void

ReminderMinutesBeforeStart

  • get ReminderMinutesBeforeStart(): number
  • set ReminderMinutesBeforeStart(value: number): void
  • Gets or sets the number of minutes before the start of this item when the reminder should be triggered.

    Returns number

  • Gets or sets the number of minutes before the start of this item when the reminder should be triggered.

    Parameters

    • value: number

    Returns void

RetentionDate

  • get RetentionDate(): Date
  • Gets the retention date.

    Returns Date

RootItemId

  • internal

    Gets Id of the root item for this item.

    Returns ItemId

Schema

Sensitivity

  • Gets or sets the sensitivity of this item.

    Returns Sensitivity

  • Gets or sets the sensitivity of this item.

    Parameters

    Returns void

Service

Size

  • get Size(): number
  • Gets the size of this item.

    Returns number

SpouseName

  • get SpouseName(): string
  • set SpouseName(value: string): void
  • Gets or sets the name of the contact's spouse.

    Returns string

  • Gets or sets the name of the contact's spouse.

    Parameters

    • value: string

    Returns void

StoreEntryId

  • get StoreEntryId(): number[]
  • Gets the store entry id.

    Returns number[]

Subject

  • get Subject(): string
  • set Subject(value: string): void
  • Gets or sets the subject of this item.

    Returns string

  • Gets or sets the subject of this item.

    Parameters

    • value: string

    Returns void

Surname

  • get Surname(): string
  • set Surname(value: string): void
  • Gets or sets the surname of the contact.

    Returns string

  • Gets or sets the surname of the contact.

    Parameters

    • value: string

    Returns void

TextBody

  • Gets the text body of the item.

    Returns TextBody

UniqueBody

  • Gets the body part that is unique to the conversation this item is part of.

    Returns UniqueBody

UserSMIMECertificate

  • get UserSMIMECertificate(): string[]
  • Gets the User SMIME certificate from the directory Unstable: needs testing //ref: cant use bytearray, using base64 decoded string instead - number[][]

    Returns string[]

WebClientEditFormQueryString

  • get WebClientEditFormQueryString(): string
  • Gets the query string that should be appended to the Exchange Web client URL to open this item using the appropriate edit form in a web browser.

    Returns string

WebClientReadFormQueryString

  • get WebClientReadFormQueryString(): string
  • Gets the query string that should be appended to the Exchange Web client URL to open this item using the appropriate read form in a web browser.

    Returns string

WeddingAnniversary

  • get WeddingAnniversary(): DateTime
  • set WeddingAnniversary(value: DateTime): void
  • Gets or sets the date of the contact's wedding anniversary.

    Returns DateTime

  • Gets or sets the date of the contact's wedding anniversary.

    Parameters

    Returns void

Methods

Bind

  • Binds to an existing item, whatever its actual type is, and loads the specified set of properties. Calling this method results in a call to EWS.

    Parameters

    • service: ExchangeService

      The service to use to bind to the item.

    • id: ItemId

      The Id of the item to bind to.

    Returns IPromise<Item>

    An Item instance representing the item corresponding to the specified Id :Promise.

Changed

  • Changed(): void
  • Triggers dispatch of the change event.

    Returns void

ClearChangeLog

  • ClearChangeLog(): void
  • Clears the object's change log.

    Returns void

Copy

  • Creates a copy of this item in the specified folder. Calling this method results in a call to EWS.

    Copy returns null if the copy operation is across two mailboxes or between a mailbox and a public folder.

    Parameters

    • destinationFolderName: WellKnownFolderName

      The name of the folder in which to create a copy of this item.

    Returns IPromise<Item>

    The copy of this item :Promise.

  • Creates a copy of this item in the specified folder. Calling this method results in a call to EWS.

    Copy returns null if the copy operation is across two mailboxes or between a mailbox and a public folder.

    Parameters

    • destinationFolderId: FolderId

      The Id of the folder in which to create a copy of this item.

    Returns IPromise<Item>

    The copy of this item :Promise.

Delete

  • Deletes the item. Calling this method results in a call to EWS.

    Parameters

    Returns IPromise<void>

  • Deletes the item. Calling this method results in a call to EWS.

    Parameters

    • deleteMode: DeleteMode

      The deletion mode.

    • suppressReadReceipts: boolean

      Whether to suppress read receipts

    Returns IPromise<void>

GetChangeXmlElementName

  • GetChangeXmlElementName(): string
  • Gets the name of the change XML element.

    Returns string

    XML element name,

GetContactPictureAttachment

  • Retrieves the file attachment that holds the contact's picture. Unstable: needs testing

    Returns FileAttachment

    The file attachment that holds the contact's picture.

GetDeleteFieldXmlElementName

  • GetDeleteFieldXmlElementName(): string

GetExtendedProperties

GetId

  • The unique Id of this object.

    Returns ServiceId

    A ServiceId instance..

GetIdPropertyDefinition

GetIsCustomDateTimeScopingRequired

  • GetIsCustomDateTimeScopingRequired(): boolean
  • Determines whether properties defined with ScopedDateTimePropertyDefinition require custom time zone scoping.

    Returns boolean

    true if this item type requires custom scoping for scoped date/time properties; otherwise, false.

GetIsTimeZoneHeaderRequired

  • GetIsTimeZoneHeaderRequired(isUpdateOperation: boolean): boolean
  • Gets a value indicating whether a time zone SOAP header should be emitted in a CreateItem or UpdateItem request so this item can be property saved or updated.

    Parameters

    • isUpdateOperation: boolean

      Indicates whether the operation being petrformed is an update operation.

    Returns boolean

    true if a time zone SOAP header should be emitted; otherwise, false.

GetLoadedPropertyDefinitions

GetMinimumRequiredServerVersion

  • internal

    Gets the minimum required server version.

    Returns ExchangeVersion

    Earliest Exchange version in which this service object type is supported.

GetSchema

  • internal

    Internal method to return the schema associated with this type of object.

    Returns ServiceObjectSchema

    The schema associated with this type of object.

GetSetFieldXmlElementName

  • GetSetFieldXmlElementName(): string

GetXmlElementName

  • GetXmlElementName(): string
  • internal

    Gets the element name of item in XML

    Returns string

    name of elelment

GetXmlElementNameOverride

  • GetXmlElementNameOverride(): string
  • This methods lets subclasses of ServiceObject override the default mechanism by which the XML element name associated with their type is retrieved.

    Returns string

    The XML element name associated with this type. If this method returns null or empty, the XML element name associated with this type is determined by the EwsObjectDefinition attribute that decorates the type, if present.

HasUnprocessedAttachmentChanges

  • HasUnprocessedAttachmentChanges(): boolean
  • internal

    Gets a value indicating whether this instance has unprocessed attachment collection changes.

    Returns boolean

    true or false.

InternalCreate

InternalDelete

InternalLoad

Private InternalRemoveContactPicture

  • InternalRemoveContactPicture(): void
  • Removes the picture from local attachment collection.

    Returns void

InternalUpdate

Load

  • Loads the first class properties. Calling this method results in a call to EWS.

    Returns IPromise<void>

  • Loads the specified set of properties. Calling this method results in a call to EWS.

    Parameters

    • Optional propertySet: PropertySet

      The properties to load.

    Returns IPromise<void>

LoadFromXmlJsObject

  • LoadFromXmlJsObject(jsObject: any, service: ExchangeService, clearPropertyBag: boolean, requestedPropertySet?: PropertySet, summaryPropertiesOnly?: boolean): void
  • Loads service object from XML.

    Parameters

    • jsObject: any

      Jason Object converted from XML.

    • service: ExchangeService

      The service.

    • clearPropertyBag: boolean

      if set to true [clear property bag].

    • Default value requestedPropertySet: PropertySet = null

      The property set.

    • Default value summaryPropertiesOnly: boolean = false

      if set to true [summary props only].

    Returns void

Move

  • Moves this item to a the specified folder. Calling this method results in a call to EWS.

    Move returns null if the move operation is across two mailboxes or between a mailbox and a public folder.

    Parameters

    • destinationFolderId: FolderId

      The Id of the folder to which to move this item.

    Returns IPromise<Item>

    The moved copy of this item :Promise.

  • Moves this item to a the specified folder. Calling this method results in a call to EWS.

    Move returns null if the move operation is across two mailboxes or between a mailbox and a public folder.

    Parameters

    • destinationFolderName: WellKnownFolderName

      The name of the folder to which to move this item.

    Returns IPromise<Item>

    The moved copy of this item :Promise.

RemoveContactPicture

  • RemoveContactPicture(): void
  • Removes the contact's picture.

    Returns void

RemoveExtendedProperty

  • Removes an extended property.

    Parameters

    Returns boolean

    True if property was removed.

Save

  • Saves this item in the default folder based on the item's type (for example, an e-mail message is saved to the Drafts folder). Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.

    Returns IPromise<void>

  • Saves this item in a specific folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.

    Parameters

    • Optional parentFolderName: WellKnownFolderName

      The name of the folder in which to save this item.

    Returns IPromise<void>

  • Saves this item in a specific folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added.

    Parameters

    • Optional parentFolderId: FolderId

      The Id of the folder in which to save this item.

    Returns IPromise<void>

SetContactPicture

  • SetContactPicture(fileNameOrContent: string | number[]): void
  • Not Implemented

    Parameters

    • fileNameOrContent: string | number[]

    Returns void

SetExtendedProperty

  • Sets the extended property.

    Parameters

    Returns void

SetSubject

  • SetSubject(subject: string): void
  • internal

    Sets the subject.

    Parameters

    • subject: string

    Returns void

ThrowIfThisIsAttachment

  • ThrowIfThisIsAttachment(): void
  • Throws exception if this is attachment.

    Returns void

ThrowIfThisIsNew

  • ThrowIfThisIsNew(): void
  • Throws exception if this is a new service object.

    Returns void

ThrowIfThisIsNotNew

  • ThrowIfThisIsNotNew(): void
  • Throws exception if this is not a new service object.

    Returns void

TryGetExtendedProperty

  • Try to get the value of a specified extended property in this instance.

    Type parameters

    • T

    Parameters

    Returns boolean

    True if property retrieved, false otherwise.

TryGetProperty

  • Try to get the value of a specified property in this instance.

    Type parameters

    • T

    Parameters

    Returns boolean

    True if property retrieved, false otherwise.

Update

  • 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.

    Parameters

    Returns IPromise<void>

  • 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.

    Parameters

    • conflictResolutionMode: ConflictResolutionMode

      The conflict resolution mode.

    • suppressReadReceipts: boolean

      Whether to suppress read receipts

    Returns IPromise<void>

Validate

  • Validate(): void
  • internal

    Validates this instance.

    Returns void

WriteToXml

WriteToXmlForUpdate

_getItem

  • Gets the value of specified property in this instance. This Indexer of c#

    Parameters

    Returns any

Static Bind

  • Binds to an existing contact and loads the specified set of properties. Calling this method results in a call to EWS.

    Parameters

    • service: ExchangeService

      The service to use to bind to the contact.

    • id: ItemId

      The Id of the contact to bind to.

    Returns IPromise<Contact>

    A Contact instance representing the contact corresponding to the specified Id :Promise.

  • Binds to an existing contact and loads the specified set of properties. Calling this method results in a call to EWS.

    Parameters

    • service: ExchangeService

      The service to use to bind to the contact.

    • id: ItemId

      The Id of the contact to bind to.

    • propertySet: PropertySet

      The set of properties to load.

    Returns IPromise<Contact>

    A Contact instance representing the contact corresponding to the specified Id :Promise.

Generated using TypeDoc