ABPerson Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Information about a person.
public class ABPerson : AddressBook.ABRecord, IComparable, IComparable<AddressBook.ABPerson>
type ABPerson = class
inherit ABRecord
interface IComparable
interface IComparable<ABPerson>
- Inheritance
- Implements
Remarks
Supported operations:
- Creating Persons: ABPerson. :
- Sorting Persons: CompareTo(ABPerson), CompareTo(ABPerson, ABPersonSortBy). :
- Getting Person Property Information: GetVCards(ABPerson[]), GetDates(), GetEmails(), GetInstantMessageServices(), GetPhones(), GetProperty(ABPersonProperty), GetPropertyType(ABPersonProperty), GetRelatedNames(), GetUrls(), LocalizedPropertyName(ABPersonProperty), SetAddresses(ABMultiValue<PersonAddress>), SetDates(ABMultiValue<NSDate>), SetEmails(ABMultiValue<String>), SetInstantMessages(ABMultiValue<InstantMessageService>), SetPhones(ABMultiValue<String>), SetRelatedNames(ABMultiValue<String>), SetUrls(ABMultiValue<String>), Birthday, CreationDate, Department, FirstName, FirstNamePhonetic, JobTitle, LastName, LastNamePhonetic, MiddleName, MiddleNamePhonetic, ModificationDate, Nickname, Note, Organization, PersonKind, Prefix, Suffix, :
- Managing Pictures: Image, HasImage, RemoveImage(). :
- Getting Name Format And Sort Preferences: CompositeNameFormat, SortOrdering. :
Constructors
| Name | Description |
|---|---|
| ABPerson() |
Constructs and initializes a ABPerson instance. |
| ABPerson(ABRecord) | |
Fields
| Name | Description |
|---|---|
| InvalidPropertyId |
An invalid value for a property id. (Inherited from ABRecord) |
| InvalidRecordId |
An invalid value for a record id. (Inherited from ABRecord) |
Properties
| Name | Description |
|---|---|
| Birthday |
Gets or sets the ABPerson's birthday. |
| CompositeNameFormat |
Developers should not use this deprecated property. Developers should use GetCompositeNameFormat (null) instead |
| CreationDate |
Gets or sets the record's creation date. |
| Department |
Gets or sets the ABPerson's department. |
| FirstName |
Gets or sets the ABPerson's first name. |
| FirstNamePhonetic |
Gets or sets ABPerson's first name phonetic pronounciation. |
| Handle | (Inherited from DisposableObject) |
| HasImage |
Gets a value indicating whether the ABPerson has a picture. |
| Id |
Gets the unique ID of the record. (Inherited from ABRecord) |
| Image |
Gets or sets the ABPerson's picture. |
| JobTitle |
Gets or sets the ABPerson's job title. |
| LastName |
Gets or sets the ABPerson's last name. |
| LastNamePhonetic |
Gets or sets the ABPerson's last name phonetic pronounciation. |
| MiddleName |
Gets or sets the ABPerson's middle name. |
| MiddleNamePhonetic |
Gets or sets the ABPerson's middle name phonetic pronounciation. |
| ModificationDate |
Gets or sets the ABPerson's modification date. |
| Nickname |
Gets or sets the ABPerson's nickname. |
| Note |
Gets or sets the ABPerson's note. |
| Organization |
Gets or sets the ABPerson's organization. |
| Owns | (Inherited from DisposableObject) |
| PersonKind |
Gets or sets the ABPerson's ABPersonKind. |
| Prefix |
Gets or sets the ABPerson's prefix. |
| SortOrdering |
Gets the user's sort ordering preference for lists of persons. |
| Source | |
| Suffix |
Gets or sets the ABPerson's suffix. |
| Type |
Gets the type of the record. (Inherited from ABRecord) |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IComparable.CompareTo(Object) |
Compares this instance with the specified
ABPerson and returns an
integer that indicates whether this instance precedes, follows,
or appears in the same position in the sort order as
|
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |