OabRecord Class
A record of an offline address book: the header record, which describes the address list, or the record of an Address Book object (a user, a contact, a distribution list...). The values are Int32, Boolean, String, byte arrays, and arrays of them for the multi-valued properties.
public sealed class OabRecordConstructors
| Name | Description |
|---|---|
| OabRecord() |
OabRecord()
OabRecord.cspublic OabRecord()No documentation is available.
Properties
| Name | Description |
|---|---|
| Account | Gets the account name (PidTagAccount). |
| BusinessTelephoneNumber | Gets the business telephone number (PidTagBusinessTelephoneNumber). |
| CompanyName | Gets the company (PidTagCompanyName). |
| DepartmentName | Gets the department (PidTagDepartmentName). |
| DisplayName | Gets the display name (PidTagDisplayName). |
| DisplayType | Gets the display type (PidTagDisplayType): 0 for a mailbox user, 1 for a distribution list, 6 for a remote mail user... |
| EmailAddress | Gets the X500 distinguished name (PidTagEmailAddress), the primary key of the record. |
| GivenName | Gets the given name (PidTagGivenName). |
| MobileTelephoneNumber | Gets the mobile telephone number (PidTagMobileTelephoneNumber). |
| ObjectType | Gets the type of the object (PidTagObjectType): 6 for a mail user, 8 for a distribution list. |
| OfficeLocation | Gets the office location (PidTagOfficeLocation). |
| ProxyAddresses | Gets the proxy addresses (PidTagAddressBookProxyAddresses), such as SMTP:laura@example.com. |
| SmtpAddress | Gets the SMTP address (PidTagSmtpAddress). |
| Surname | Gets the surname (PidTagSurname). |
| Title | Gets the job title (PidTagTitle). |
| Values | Gets the values of the record, by property tag. A property the record does not have is absent. |
Account
OabRecord.csBusinessTelephoneNumber
OabRecord.csCompanyName
OabRecord.csDepartmentName
OabRecord.csDisplayName
OabRecord.csDisplayType
OabRecord.csEmailAddress
OabRecord.csGivenName
OabRecord.csMobileTelephoneNumber
OabRecord.csObjectType
OabRecord.csOfficeLocation
OabRecord.csProxyAddresses
OabRecord.csGets the proxy addresses (PidTagAddressBookProxyAddresses), such as SMTP:laura@example.com.
public IReadOnlyList<string> ProxyAddresses { get; }Property value
SmtpAddress
OabRecord.csSurname
OabRecord.csTitle
OabRecord.csValues
OabRecord.csGets the values of the record, by property tag. A property the record does not have is absent.
public IDictionary<MapiPropertyTag, object> Values { get; }Property value
Methods
| Name | Description |
|---|---|
| Find(ushort) | Gets the value of a property, whatever its type. |
| GetString(ushort) | Returns the value of a string property, of type MapiPropertyType.Unicode or MapiPropertyType.String8. |
| ToString() | Returns the display name, or the address. |
Find(ushort)
OabRecord.csGetString(ushort)
OabRecord.csReturns the value of a string property, of type MapiPropertyType.Unicode or MapiPropertyType.String8.