ABPerson.LocalizedPropertyName Method
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.
Overloads
LocalizedPropertyName(ABPersonProperty) |
Gets the localized name of a |
LocalizedPropertyName(Int32) |
Gets the localized name of a |
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.