ContactManager.ConvertContactToVCardAsync 方法

定义

重载

ConvertContactToVCardAsync(Contact)

联系人 异步转换为 vCard。

ConvertContactToVCardAsync(Contact, UInt32)

联系人 异步转换为 vCard。

ConvertContactToVCardAsync(Contact)

联系人 异步转换为 vCard。

public:
 static IAsyncOperation<RandomAccessStreamReference ^> ^ ConvertContactToVCardAsync(Contact ^ contact);
/// [Windows.Foundation.Metadata.Overload("ConvertContactToVCardAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<RandomAccessStreamReference> ConvertContactToVCardAsync(Contact const& contact);
[Windows.Foundation.Metadata.Overload("ConvertContactToVCardAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<RandomAccessStreamReference> ConvertContactToVCardAsync(Contact contact);
function convertContactToVCardAsync(contact)
Public Shared Function ConvertContactToVCardAsync (contact As Contact) As IAsyncOperation(Of RandomAccessStreamReference)

参数

contact
Contact

要转换的 联系人

返回

包含 vCard 数据的流。

属性

Windows 要求

应用功能
contactsSystem

另请参阅

适用于

ConvertContactToVCardAsync(Contact, UInt32)

联系人 异步转换为 vCard。

public:
 static IAsyncOperation<RandomAccessStreamReference ^> ^ ConvertContactToVCardAsync(Contact ^ contact, unsigned int maxBytes);
/// [Windows.Foundation.Metadata.Overload("ConvertContactToVCardAsyncWithMaxBytes")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<RandomAccessStreamReference> ConvertContactToVCardAsync(Contact const& contact, uint32_t const& maxBytes);
[Windows.Foundation.Metadata.Overload("ConvertContactToVCardAsyncWithMaxBytes")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<RandomAccessStreamReference> ConvertContactToVCardAsync(Contact contact, uint maxBytes);
function convertContactToVCardAsync(contact, maxBytes)
Public Shared Function ConvertContactToVCardAsync (contact As Contact, maxBytes As UInteger) As IAsyncOperation(Of RandomAccessStreamReference)

参数

contact
Contact

要转换的 联系人

maxBytes
UInt32

unsigned int

uint32_t

vCard 的最大大小(以字节为单位)。

返回

包含 vCard 数据的流。

属性

Windows 要求

应用功能
contactsSystem

另请参阅

适用于