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>>

此方法完成后,它将返回字符串名称/非类型化值对的映射/字典。

Windows 要求

应用功能
ID_CAP_CONTACTS [Windows Phone]

适用于

另请参阅