ABPerson ABPerson Class

Definition

Information about a person.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'Contacts' API instead.")]
public class ABPerson : AddressBook.ABRecord, IComparable, IComparable<AddressBook.ABPerson>
type ABPerson = class
    inherit ABRecord
    interface IComparable
    interface IComparable<ABPerson>
Inheritance
Attributes
Implements

Remarks

Supported operations:

Constructors

ABPerson() ABPerson()

Constructs and initializes a ABPerson instance.

ABPerson(ABRecord) ABPerson(ABRecord)

Properties

Birthday Birthday

Gets or sets the ABPerson's birthday.

CompositeNameFormat CompositeNameFormat

Developers should not use this deprecated property. Developers should use GetCompositeNameFormat (null) instead

CreationDate CreationDate

Gets or sets the record's creation date.

Department Department

Gets or sets the ABPerson's department.

FirstName FirstName

Gets or sets the ABPerson's first name.

FirstNamePhonetic FirstNamePhonetic

Gets or sets ABPerson's first name phonetic pronounciation.

Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from ABRecord)
HasImage HasImage

Gets a value indicating whether the ABPerson has a picture.

Id Id

Gets the unique ID of the record.

(Inherited from ABRecord)
Image Image

Gets or sets the ABPerson's picture.

JobTitle JobTitle

Gets or sets the ABPerson's job title.

LastName LastName

Gets or sets the ABPerson's last name.

LastNamePhonetic LastNamePhonetic

Gets or sets the ABPerson's last name phonetic pronounciation.

MiddleName MiddleName

Gets or sets the ABPerson's middle name.

MiddleNamePhonetic MiddleNamePhonetic

Gets or sets the ABPerson's middle name phonetic pronounciation.

ModificationDate ModificationDate

Gets or sets the ABPerson's modification date.

Nickname Nickname

Gets or sets the ABPerson's nickname.

Note Note

Gets or sets the ABPerson's note.

Organization Organization

Gets or sets the ABPerson's organization.

PersonKind PersonKind

Gets or sets the ABPerson's ABPersonKind.

Prefix Prefix

Gets or sets the ABPerson's prefix.

SortOrdering SortOrdering

Gets the user's sort ordering preference for lists of persons.

Source Source
Suffix Suffix

Gets or sets the ABPerson's suffix.

Type Type

Gets the type of the record.

(Inherited from ABRecord)

Methods

CompareTo(ABPerson) CompareTo(ABPerson)

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

CompareTo(ABPerson, ABPersonSortBy) CompareTo(ABPerson, ABPersonSortBy)

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 other (as controlled by ordering).

CreateFromVCard(ABRecord, NSData) CreateFromVCard(ABRecord, NSData)
Dispose() Dispose()

Releases the resources used by the ABRecord object.

(Inherited from ABRecord)
Dispose(Boolean) Dispose(Boolean)

Releases the resources used by the ABRecord object.

(Inherited from ABRecord)
GetAllAddresses() GetAllAddresses()
GetCompositeNameDelimiter(ABRecord) GetCompositeNameDelimiter(ABRecord)
GetCompositeNameFormat(ABRecord) GetCompositeNameFormat(ABRecord)
GetDates() GetDates()

Gets the ABPerson's dates.

GetEmails() GetEmails()

Gets the ABPerson's email addresses.

GetImage(ABPersonImageFormat) GetImage(ABPersonImageFormat)
GetInstantMessageServices() GetInstantMessageServices()
GetLinkedPeople() GetLinkedPeople()
GetPhones() GetPhones()

Gets the ABPerson's phone numbers.

GetProperty(ABPersonProperty) GetProperty(ABPersonProperty)

Gets the specified property.

GetPropertyType(ABPersonProperty) GetPropertyType(ABPersonProperty)

Gets the type of the property property.

GetPropertyType(Int32) GetPropertyType(Int32)

Gets the type of the property propertyId.

GetRelatedNames() GetRelatedNames()

Gets the ABPerson's related names.

GetSocialProfiles() GetSocialProfiles()
GetUrls() GetUrls()

Gets the ABPerson's URLs.

GetVCards(ABPerson[]) GetVCards(ABPerson[])
LocalizedPropertyName(ABPersonProperty) LocalizedPropertyName(ABPersonProperty)

Gets the localized name of a property.

LocalizedPropertyName(Int32) LocalizedPropertyName(Int32)

Gets the localized name of a propertyId.

RemoveImage() RemoveImage()

Removes a ABPerson's picture.

SetAddresses(ABMultiValue<NSDictionary>) SetAddresses(ABMultiValue<NSDictionary>)

Sets the ABPerson's new addresses.

SetAddresses(ABMultiValue<PersonAddress>) SetAddresses(ABMultiValue<PersonAddress>)
SetDates(ABMultiValue<NSDate>) SetDates(ABMultiValue<NSDate>)

Sets the ABPerson's new dates.

SetEmails(ABMultiValue<String>) SetEmails(ABMultiValue<String>)

Sets the ABPerson's new email addresses.

SetInstantMessages(ABMultiValue<InstantMessageService>) SetInstantMessages(ABMultiValue<InstantMessageService>)
SetInstantMessages(ABMultiValue<NSDictionary>) SetInstantMessages(ABMultiValue<NSDictionary>)

Sets the ABPerson's new instant messaging services.

SetPhones(ABMultiValue<String>) SetPhones(ABMultiValue<String>)

Sets the ABPerson's new phone numbers.

SetRelatedNames(ABMultiValue<String>) SetRelatedNames(ABMultiValue<String>)

Sets the ABPerson's new related names.

SetSocialProfile(ABMultiValue<NSDictionary>) SetSocialProfile(ABMultiValue<NSDictionary>)
SetSocialProfile(ABMultiValue<SocialProfile>) SetSocialProfile(ABMultiValue<SocialProfile>)
SetUrls(ABMultiValue<String>) SetUrls(ABMultiValue<String>)

Sets the ABPerson's new URLs.

ToString() ToString()

Returns the composite name of the ABRecord.

(Inherited from ABRecord)

Explicit Interface Implementations

IComparable.CompareTo(Object) 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 o.

Fields

InvalidPropertyId InvalidPropertyId

An invalid value for a property id.

(Inherited from ABRecord)
InvalidRecordId InvalidRecordId

An invalid value for a record id.

(Inherited from ABRecord)

Applies to

See also