Windows Dev Center

StoredContact.GetExtendedPropertiesAsync method

Gets the extended properties for a stored contact as an map of name/value pairs.

Syntax


public IAsyncOperation<IMap<String,Object>> GetExtendedPropertiesAsync()

Parameters

This method has no parameters.

Return value

Type: IAsyncOperation<IMap<String,Object>>

When this method completes, it returns a map/dictionary of name/value pairs (string name, untyped values). If you use awaitable syntax, the result type is a map or dictionary of these key-value pairs, keyed by string names. (You can use APIs of IMap<Platform::String,Platform::Object> for C++, APIs of IDictionary<String,Object> for .NET.)

Remarks

In the current release, the values stored in the collection returned by this method must be strings. The key names are app-defined and are not used by the operating system at all. To get the values for common properties, such as a contact address or telephone numbers that are used by the operating system, use GetPropertiesAsync instead. The contents of the extended properties collection is saved when SaveAsync is called.

Requirements (Windows 10 device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_CONTACTS [Windows Phone]

See also

StoredContact
Asynchronous programming

 

 

Community Additions

ADD
Show:
© 2015 Microsoft