AddressBookUI.ABAddressFormatting Class
Utility class that formats one of the Foundation.NSDictionary returned by the AddressBook.ABPerson.GetAddresses method.

See Also: ABAddressFormatting Members

Syntax

public static class ABAddressFormatting

Remarks

This class works with the Foundation.NSDictionarys that are returned by the AddressBook.ABPerson.GetAddresses method, as shown in the following example:

C# Example

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

Requirements

Namespace: AddressBookUI
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0