Bewerken

Delen via


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
ABPerson
Attributes
Implements

Remarks

Supported operations:

Constructors

ABPerson()

Constructs and initializes a ABPerson instance.

ABPerson(ABRecord)

Fields

InvalidPropertyId

An invalid value for a property id.

(Inherited from ABRecord)
InvalidRecordId

An invalid value for a record id.

(Inherited from ABRecord)

Properties

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

Handle (pointer) to the unmanaged object representation.

(Inherited from ABRecord)
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.

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

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

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.

CreateFromVCard(ABRecord, NSData)
Dispose()

Releases the resources used by the ABRecord object.

(Inherited from ABRecord)
Dispose(Boolean)

Releases the resources used by the ABRecord object.

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

Gets the ABPerson's dates.

GetEmails()

Gets the ABPerson's email addresses.

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

Gets the ABPerson's phone numbers.

GetProperty(ABPersonProperty)

Gets the specified property.

GetPropertyType(ABPersonProperty)

Gets the type of the property property.

GetPropertyType(Int32)

Gets the type of the property propertyId.

GetRelatedNames()

Gets the ABPerson's related names.

GetSocialProfiles()
GetUrls()

Gets the ABPerson's URLs.

GetVCards(ABPerson[])
LocalizedPropertyName(ABPersonProperty)

Gets the localized name of a property.

LocalizedPropertyName(Int32)

Gets the localized name of a propertyId.

RemoveImage()

Removes a ABPerson's picture.

SetAddresses(ABMultiValue<NSDictionary>)

Sets the ABPerson's new addresses.

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

Sets the ABPerson's new dates.

SetEmails(ABMultiValue<String>)

Sets the ABPerson's new email addresses.

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

Sets the ABPerson's new instant messaging services.

SetPhones(ABMultiValue<String>)

Sets the ABPerson's new phone numbers.

SetRelatedNames(ABMultiValue<String>)

Sets the ABPerson's new related names.

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

Sets the ABPerson's new URLs.

ToString()

Returns the composite name of the ABRecord.

(Inherited from ABRecord)

Explicit Interface Implementations

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.

Applies to

See also