AddressBook.ABAddressBook Members

The members of AddressBook.ABAddressBook are listed below.

See Also: Inherited members from System.Object

Public Constructors

Creates and initializes a AddressBook.ABAddressBook instance.

Public Fields

static readonly
ErrorDomainFoundation.NSString. Identifies the error domain under which address book errors are grouped.

Public Properties

[read-only]
GroupCountnint. Gets the number of groups in the address book.
[read-only]
HandleIntPtr. Handle (pointer) to the unmanaged object representation.
[read-only]
HasUnsavedChangesbool. Indicates whether or not this instance has changes which haven't been saved to the global address book.
[read-only]
PeopleCountnint. Gets the number of AddressBook.ABPerson records in the address book.

Public Methods

Add(ABRecord)
Adds a record to the address book.
static
Create(out Foundation.NSError) : ABAddressBook
Documentation for this section has not yet been entered.
Dispose()
Releases the resources used by the ABAddressBook object.
Finalize()
Finalizer for the ABAddressBook object
GetAllSources() : ABSource[]
Returns all of the addresbook sources available on the system.
static
GetAuthorizationStatus() : ABAuthorizationStatus
What permissions the user has allowed the app.
GetDefaultSource() : ABSource
Returns the default addressbook source for the system.
GetEnumerator() : IEnumerator<ABRecord>
Returns an enumerator that iterates through all records and groups in the address book.
GetGroup(int) : ABGroup
Returns the AddressBook.ABGroup with the given record ID.
GetGroups() : ABGroup[]
Gets all groups in the address book.
GetGroups(ABRecord) : ABGroup[]
Documentation for this section has not yet been entered.
GetPeople() : ABPerson[]
Gets all people in the address book.
GetPeople(ABRecord) : ABPerson[]
Documentation for this section has not yet been entered.
GetPeople(ABRecord, ABPersonSortBy) : ABPerson[]
Documentation for this section has not yet been entered.
GetPeopleWithName(string) : ABPerson[]
Gets all AddressBook.ABPerson array containing all records with a matching name.
GetPerson(int) : ABPerson
Returns the AddressBook.ABPerson with the given record ID.
GetSource(int) : ABSource
Returns a specific addressbook source
static
LocalizedLabel(Foundation.NSString) : string
Localize a record-property label into the current UI language.
Remove(ABRecord)
Removes a record from the address book.
RequestAccess(Action<bool, Foundation.NSError>)
Presents the user with a standard permissions dialog, requesting access to the address book.
Revert()
Discards unsaved changes to the address book.
Save()
Saves unsaved changes made to the current instance to the global Address Book database.

Protected Methods

Dispose(bool)
Releases the resources used by the ABAddressBook object.
OnExternalChange(ExternalChangeEventArgs)
Raises the ABAddressBook.ExternalChange event.

Public Events

ExternalChange Occurs when the address book is modified.

Explicitly Implemented Interface Members

IEnumerable.GetEnumerator Returns an enumerator that iterates through all records and groups in the address book.