ABPerson.GetPropertyType 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
GetPropertyType(ABPersonProperty) |
Gets the type of the property |
GetPropertyType(Int32) |
Gets the type of the property |
GetPropertyType(ABPersonProperty)
Gets the type of the property property
.
public static AddressBook.ABPropertyType GetPropertyType (AddressBook.ABPersonProperty property);
static member GetPropertyType : AddressBook.ABPersonProperty -> AddressBook.ABPropertyType
Parameters
- property
- ABPersonProperty
A ABPersonProperty specifying which property to query.
Returns
A ABPropertyType value containing
the type of the property property
.
Applies to
GetPropertyType(Int32)
Gets the type of the property propertyId
.
public static AddressBook.ABPropertyType GetPropertyType (int propertyId);
static member GetPropertyType : int -> AddressBook.ABPropertyType
Parameters
- propertyId
- Int32
A value that corresponds to one of the low-level kABPersonProperty fields.
Returns
A ABPropertyType value containing
the type of the property propertyId
.
Remarks
Unlike the overload that takes a ABPersonProperty, the value of the property
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.