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