Edit

Share via


ABPerson.LocalizedPropertyName Method

Definition

Overloads

LocalizedPropertyName(ABPersonProperty)

Gets the localized name of a property.

LocalizedPropertyName(Int32)

Gets the localized name of a propertyId.

LocalizedPropertyName(ABPersonProperty)

Gets the localized name of a property.

public static string LocalizedPropertyName (AddressBook.ABPersonProperty property);
static member LocalizedPropertyName : AddressBook.ABPersonProperty -> string

Parameters

property
ABPersonProperty

A ABPersonProperty containing the property to get the localized name of.

Returns

A T:System.String containing the localized name of a property.

Applies to

LocalizedPropertyName(Int32)

Gets the localized name of a propertyId.

public static string LocalizedPropertyName (int propertyId);
static member LocalizedPropertyName : int -> string

Parameters

propertyId
Int32

A value that corresponds to one of the low-level kABPersonProperty fields.

Returns

A T:System.String containing the localized name of a propertyId.

Remarks

Unlike the overload that takes a ABPersonProperty, the value of the propertyId is actually not a constant and can vary at runtime (this is the native C interface).

This method is typically used on callbacks that provide an "int propertyId" as a parameter.

Applies to