共用方式為


IContactInformation.GetPropertiesAsync 方法

定義

取得連絡人的屬性,做為名稱/值組的對應。

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

傳回

IAsyncOperation<IMap<String,Object>>

IAsyncOperation<IDictionary<String,Object>>

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

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

當這個方法完成時,它會傳回字串名稱/不具類型值組的 map/dictionary。

Windows 需求

應用程式功能
ID_CAP_CONTACTS [Windows Phone]

適用於

另請參閱