ABAddressFormatting Class

Definition

Utility class that formats one of the NSDictionary returned by the GetVCards(ABPerson[]) method.

public static class ABAddressFormatting
type ABAddressFormatting = class
Inheritance
ABAddressFormatting

Remarks

This class works with the NSDictionarys that are returned by the GetVCards(ABPerson[]) method, as shown in the following example:

NSError err;
var ab = ABAddressBook.Create(out err);
if(err is null && ABAddressBook.GetAuthorizationStatus() == ABAuthorizationStatus.Authorized)
{
	var person = ab.GetPeople()[0];
	var address = person.GetAddresses()[0];
	var formattedAddress = ABAddressFormatting.ToString(address.Value, false);
}

Methods

Name Description
ToString(NSDictionary, Boolean)

Applies to