ContactStore.LoadExtendedPropertiesAsync Method

Definition

Loads the extended properties for the app's custom contact store.

public:
 virtual IAsyncOperation<IMap<Platform::String ^, Platform::Object ^> ^> ^ LoadExtendedPropertiesAsync() = LoadExtendedPropertiesAsync;
IAsyncOperation<IMap<winrt::hstring, IInspectable const&>> LoadExtendedPropertiesAsync();
public IAsyncOperation<IDictionary<string,object>> LoadExtendedPropertiesAsync();
function loadExtendedPropertiesAsync()
Public Function LoadExtendedPropertiesAsync () As IAsyncOperation(Of IDictionary(Of String, Object))

Returns

IAsyncOperation<IMap<String,Object>>

IAsyncOperation<IDictionary<String,Object>>

IAsyncOperation<IMap<Platform::String,Platform::Object>>

IAsyncOperation<IMap<winrt::hstring,IInspectable>>

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

Windows requirements

App capabilities
ID_CAP_CONTACTS [Windows Phone]

Remarks

This method is used to access the extended properties for the contact store, not for individual contacts. A common scenario is to use the contact store's extended properties to store revision numbers for the local contact store and a remote contact store in and then using GetChangesAsync to synchronize the two stores. To access extended properties to individual contacts, see GetExtendedPropertiesAsync.

Applies to

See also