Для изменения размера нажмите или перетащите

Contact - класс

Represents a contact. Properties available on contacts are defined in the ContactSchema class.
Иерархия наследования

Пространство имён:  Tessa.Exchange.WebServices.Data
Сборка:  Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис
public class Contact : Item

Тип Contact предоставляет следующие члены.

Конструкторы
  ИмяОписание
Открытый методContact
Initializes an unsaved local instance of Contact. To bind to an existing contact, use Contact.Bind() instead.
В начало страницы
Свойства
  ИмяОписание
Открытое свойствоAlias
Gets the Alias from the directory
Открытое свойствоAllowedResponseActions
Gets a value indicating which response actions are allowed on this item. Examples of response actions are Reply and Forward.
(Унаследован от Item.)
Открытое свойствоArchiveTag
Gets or sets the archive tag.
(Унаследован от Item.)
Открытое свойствоAssistantName
Gets or sets the contact's assistant name.
Открытое свойствоAttachments
Gets a list of the attachments to this item.
(Унаследован от Item.)
Открытое свойствоBirthday
Gets or sets the birthday of the contact.
Открытое свойствоBody
Gets or sets the body of this item.
(Унаследован от Item.)
Открытое свойствоBusinessHomePage
Gets or sets the business home page of the contact.
Открытое свойствоCategories
Gets or sets the list of categories associated with this item.
(Унаследован от Item.)
Открытое свойствоChildren
Gets or sets a list of children for the contact.
Открытое свойствоCompanies
Gets or sets a list of companies for the contact.
Открытое свойствоCompanyName
Gets or sets the compnay name of the contact.
Открытое свойствоCompleteName
Gets the complete name of the contact.
Открытое свойствоContactSource
Gets the source of the contact.
Открытое свойствоConversationId
Gets the Id of the conversation this item is part of.
(Унаследован от Item.)
Открытое свойствоCulture
Gets or sets the culture associated with this item.
(Унаследован от Item.)
Открытое свойствоDateTimeCreated
Gets the date and time this item was created.
(Унаследован от Item.)
Открытое свойствоDateTimeReceived
Gets the time when this item was received.
(Унаследован от Item.)
Открытое свойствоDateTimeSent
Gets the date and time this item was sent.
(Унаследован от Item.)
Открытое свойствоDepartment
Gets or sets the department of the contact.
Открытое свойствоDirectoryId
Gets the DirectoryID as Guid or DN string
Открытое свойствоDirectoryPhoto
Gets the Photo from the directory
Открытое свойствоDirectReports
Get the direct reports mailbox information
Открытое свойствоDisplayCc
Gets a text summarizing the Cc receipients of this item.
(Унаследован от Item.)
Открытое свойствоDisplayName
Gets or sets the display name of the contact.
Открытое свойствоDisplayTo
Gets a text summarizing the To recipients of this item.
(Унаследован от Item.)
Открытое свойствоEffectiveRights
Gets a value indicating the effective rights the current authenticated user has on this item.
(Унаследован от Item.)
Открытое свойство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"
Открытое свойствоEntityExtractionResult
Gets the EntityExtractionResult of the item.
(Унаследован от Item.)
Открытое свойствоExtendedProperties
Gets a list of extended properties defined on this item.
(Унаследован от Item.)
Открытое свойствоFileAs
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.
Открытое свойствоFileAsMapping
Gets or sets a value indicating how the FileAs property should be automatically calculated.
Открытое свойствоFlag
Get or set the Flag value for this item.
(Унаследован от Item.)
Открытое свойствоGeneration
Gets or sets the generation of the contact.
Открытое свойствоGivenName
Gets or sets the given name of the contact.
Открытое свойствоHasAttachments
Gets a value indicating whether the item has attachments.
(Унаследован от Item.)
Открытое свойствоHashtags
Gets or sets the list of hashtags associated with this item.
(Унаследован от Item.)
Открытое свойствоHasPicture
Gets a value indicating whether this contact has a picture associated with it.
Открытое свойствоIconIndex
Gets the icon index.
(Унаследован от Item.)
Открытое свойствоId
Gets the Id of this item.
(Унаследован от Item.)
Открытое свойство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"
Открытое свойствоImportance
Gets or sets the importance of this item.
(Унаследован от Item.)
Открытое свойствоInitials
Gets or sets the initials of the contact.
Открытое свойствоInReplyTo
Gets or sets the In-Reply-To reference of this item.
(Унаследован от Item.)
Открытое свойствоInstanceKey
Gets the item instance key.
(Унаследован от Item.)
Открытое свойствоInternetMessageHeaders
Gets a list of Internet headers for this item.
(Унаследован от Item.)
Открытое свойствоIsAssociated
Gets a value indicating whether this is an associated item.
(Унаследован от Item.)
Открытое свойствоIsAttachment
Gets a value indicating whether the item is an attachment.
(Унаследован от Item.)
Открытое свойствоIsDirty
Gets a value indicating whether the object has been modified and should be saved.
(Унаследован от ServiceObject.)
Открытое свойствоIsDraft
Gets a value indicating whether the item is is a draft. An item is a draft when it has not yet been sent.
(Унаследован от Item.)
Открытое свойствоIsFromMe
Gets a value indicating whether the item has been sent by the current authenticated user.
(Унаследован от Item.)
Открытое свойствоIsNew
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.
(Унаследован от Item.)
Открытое свойствоIsReminderSet
Gets or sets a value indicating whether a reminder is set for this item.
(Унаследован от Item.)
Открытое свойствоIsResend
Gets a value indicating whether the item is a resend of another item.
(Унаследован от Item.)
Открытое свойствоIsSubmitted
Gets a value indicating whether the message has been submitted to be sent.
(Унаследован от Item.)
Открытое свойствоIsUnmodified
Gets a value indicating whether the item has been modified since it was created.
(Унаследован от Item.)
Открытое свойствоItem
Gets the value of specified property in this instance.
(Унаследован от ServiceObject.)
Открытое свойствоItemClass
Gets or sets the custom class name of this item.
(Унаследован от Item.)
Открытое свойствоJobTitle
Gets or sets the contact's job title.
Открытое свойствоLastModifiedName
Gets the name of the user who last modified this item.
(Унаследован от Item.)
Открытое свойствоLastModifiedTime
Gets the date and time this item was last modified.
(Унаследован от Item.)
Открытое свойствоManager
Gets or sets the name of the contact's manager.
Открытое свойствоManagerMailbox
Gets the manager mailbox information
Открытое свойствоMentionedMe
Gets a value indicating whether the item mentions me.
(Унаследован от Item.)
Открытое свойствоMentions
Gets the Mentions associated with the message.
(Унаследован от Item.)
Открытое свойствоMiddleName
Gets or sets the initials of the contact.
Открытое свойствоMileage
Gets or sets the mileage for the contact.
Открытое свойствоMimeContent
Get or sets the MIME content of this item.
(Унаследован от Item.)
Открытое свойствоMimeContentUTF8
Get or sets the MimeContentUTF8 of this item.
(Унаследован от Item.)
Открытое свойствоMSExchangeCertificate
Gets the MSExchange certificate from the directory
Открытое свойствоNickName
Gets or sets the middle name of the contact.
Открытое свойствоNormalizedBody
Gets the normalized body of the item.
(Унаследован от Item.)
Открытое свойствоNotes
Get the Notes from the directory
Открытое свойствоOfficeLocation
Gets or sets the location of the contact's office.
Открытое свойствоParentFolderId
Gets the Id of the parent folder of this item.
(Унаследован от Item.)
Открытое свойство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"
Открытое свойствоPhoneticFirstName
Gets the phonetic first name from the directory
Открытое свойствоPhoneticFullName
Gets the full phonetic name from the directory
Открытое свойствоPhoneticLastName
Gets the phonetic last name from the directory
Открытое свойство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()
Открытое свойствоPolicyTag
Gets or sets the policy tag.
(Унаследован от Item.)
Открытое свойствоPostalAddressIndex
Gets or sets the index of the contact's postal address. When set, PostalAddressIndex refers to an entry in the PhysicalAddresses indexed list.
Открытое свойствоPreview
Gets the item Preview.
(Унаследован от Item.)
Открытое свойствоProfession
Gets or sets the contact's profession.
Открытое свойствоReminderDueBy
Gets or sets the date and time when the reminder is due for this item.
(Унаследован от Item.)
Открытое свойствоReminderMinutesBeforeStart
Gets or sets the number of minutes before the start of this item when the reminder should be triggered.
(Унаследован от Item.)
Открытое свойствоRetentionDate
Gets the retention date.
(Унаследован от Item.)
Открытое свойствоSchema
Gets the schema associated with this type of object.
(Унаследован от ServiceObject.)
Открытое свойствоSensitivity
Gets or sets the sensitivity of this item.
(Унаследован от Item.)
Открытое свойствоService
Gets the ExchangeService the object is bound to.
(Унаследован от ServiceObject.)
Открытое свойствоSize
Gets the size of this item.
(Унаследован от Item.)
Открытое свойствоSpouseName
Gets or sets the name of the contact's spouse.
Открытое свойствоStoreEntryId
Gets the store entry id.
(Унаследован от Item.)
Открытое свойствоSubject
Gets or sets the subject of this item.
(Унаследован от Item.)
Открытое свойствоSurname
Gets or sets the surname of the contact.
Открытое свойствоTextBody
Gets the text body of the item.
(Унаследован от Item.)
Открытое свойствоUniqueBody
Gets the body part that is unique to the conversation this item is part of.
(Унаследован от Item.)
Открытое свойствоUserSMIMECertificate
Gets the User SMIME certificate from the directory
Открытое свойствоWebClientEditFormQueryString
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.
(Унаследован от Item.)
Открытое свойствоWebClientReadFormQueryString
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.
(Унаследован от Item.)
Открытое свойствоWeddingAnniversary
Gets or sets the date of the contact's wedding anniversary.
В начало страницы
Методы
  ИмяОписание
Открытый методСтатический членBind(ExchangeService, ItemId)
Binds to an existing contact and loads its first class properties. Calling this method results in a call to EWS.
Открытый методСтатический членBind(ExchangeService, ItemId, PropertySet, CancellationToken)
Binds to an existing contact and loads the specified set of properties. Calling this method results in a call to EWS.
Открытый методCopy(WellKnownFolderName)
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.

(Унаследован от Item.)
Открытый методCopy(FolderId, CancellationToken)
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.

(Унаследован от Item.)
Открытый методDelete(DeleteMode)
Deletes the item. Calling this method results in a call to EWS.
(Унаследован от Item.)
Открытый методDelete(DeleteMode, Boolean, CancellationToken)
Deletes the item. Calling this method results in a call to EWS.
(Унаследован от Item.)
Открытый методEquals
Determines whether the specified object is equal to the current object.
(Унаследован от Object.)
Защищённый методFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object.)
Открытый методGetContactPictureAttachment
Retrieves the file attachment that holds the contact's picture.
Открытый методGetHashCode
Serves as the default hash function.
(Унаследован от Object.)
Открытый методGetLoadedPropertyDefinitions
Gets the collection of loaded property definitions.
(Унаследован от ServiceObject.)
Открытый методGetType
Gets the Type of the current instance.
(Унаследован от Object.)
Открытый методLoad(CancellationToken)
Loads the first class properties. Calling this method results in a call to EWS.
(Унаследован от ServiceObject.)
Открытый методLoad(PropertySet, CancellationToken)
Loads the specified set of properties. Calling this method results in a call to EWS.
(Унаследован от ServiceObject.)
Защищённый методMemberwiseClone
Creates a shallow copy of the current Object.
(Унаследован от Object.)
Открытый методMove(WellKnownFolderName)
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.

(Унаследован от Item.)
Открытый методMove(FolderId, CancellationToken)
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.

(Унаследован от Item.)
Открытый методRemoveContactPicture
Removes the contact's picture.
Открытый методRemoveExtendedProperty
Removes an extended property.
(Унаследован от Item.)
Открытый методSave(CancellationToken)
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.
(Унаследован от Item.)
Открытый методSave(FolderId, CancellationToken)
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.
(Унаследован от Item.)
Открытый методSave(WellKnownFolderName, CancellationToken)
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.
(Унаследован от Item.)
Открытый методSetContactPicture(Byte)
Sets the contact's picture using the specified byte array.
Открытый методSetContactPicture(Stream)
Sets the contact's picture using the specified stream.
Открытый методSetContactPicture(String)
Sets the contact's picture using the specified file.
Открытый методSetExtendedProperty
Sets the extended property.
(Унаследован от Item.)
Открытый методToString
Returns a string that represents the current object.
(Унаследован от Object.)
Открытый методTryGetProperty(PropertyDefinitionBase, Object)
Try to get the value of a specified property in this instance.
(Унаследован от ServiceObject.)
Открытый методTryGetPropertyT(PropertyDefinitionBase, T)
Try to get the value of a specified property in this instance.
(Унаследован от ServiceObject.)
Открытый методUpdate(ConflictResolutionMode, CancellationToken)
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.
(Унаследован от Item.)
Открытый методUpdate(ConflictResolutionMode, Boolean, CancellationToken)
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.
(Унаследован от Item.)
В начало страницы
Методы расширения
  ИмяОписание
Открытый метод расширенияGet (Определяется ComHelper.)
Открытый метод расширенияInternalMarkerCanvas
Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor.)
Открытый метод расширенияInvoke (Определяется ComHelper.)
Открытый метод расширенияSet (Определяется ComHelper.)
В начало страницы
См. также