Share via


ContactManager.ConvertContactToVCardAsync Method

Definition

Overloads

ConvertContactToVCardAsync(Contact)

Asynchronously converts a Contact to a vCard.

ConvertContactToVCardAsync(Contact, UInt32)

Asynchronously converts a Contact to a vCard.

ConvertContactToVCardAsync(Contact)

Asynchronously converts a Contact to a 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)

Parameters

contact
Contact

The Contact to convert.

Returns

A stream containing the vCard data.

Attributes

Windows requirements

App capabilities
contactsSystem

See also

Applies to

ConvertContactToVCardAsync(Contact, UInt32)

Asynchronously converts a Contact to a 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)

Parameters

contact
Contact

The Contact to convert.

maxBytes
UInt32

unsigned int

uint32_t

The maximum size for the vCard in bytes.

Returns

A stream containing the vCard data.

Attributes

Windows requirements

App capabilities
contactsSystem

See also

Applies to