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.
[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:
- Creating Persons: ABPerson. :
- Sorting Persons: CompareTo(ABPerson), CompareTo(ABPerson, ABPersonSortBy). :
- Getting Person Property Information: GetVCards(ABPerson[]), GetDates(), GetEmails(), M:AddressBook.ABPerson.GetInstantMessages*, 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
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
|
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
|
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 |
GetPropertyType(Int32) |
Gets the type of the property |
GetRelatedNames() |
Gets the ABPerson's related names. |
GetSocialProfiles() | |
GetUrls() |
Gets the ABPerson's URLs. |
GetVCards(ABPerson[]) | |
LocalizedPropertyName(ABPersonProperty) |
Gets the localized name of a |
LocalizedPropertyName(Int32) |
Gets the localized name of a |
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
|