Share via


ContactManagerForUser.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:
 virtual IAsyncOperation<RandomAccessStreamReference ^> ^ ConvertContactToVCardAsync(Contact ^ contact) = ConvertContactToVCardAsync;
/// [Windows.Foundation.Metadata.Overload("ConvertContactToVCardAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<RandomAccessStreamReference> ConvertContactToVCardAsync(Contact const& contact);
[Windows.Foundation.Metadata.Overload("ConvertContactToVCardAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<RandomAccessStreamReference> ConvertContactToVCardAsync(Contact contact);
function convertContactToVCardAsync(contact)
Public 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:
 virtual IAsyncOperation<RandomAccessStreamReference ^> ^ ConvertContactToVCardAsync(Contact ^ contact, unsigned int maxBytes) = ConvertContactToVCardAsync;
/// [Windows.Foundation.Metadata.Overload("ConvertContactToVCardAsyncWithMaxBytes")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<RandomAccessStreamReference> ConvertContactToVCardAsync(Contact const& contact, uint32_t const& maxBytes);
[Windows.Foundation.Metadata.Overload("ConvertContactToVCardAsyncWithMaxBytes")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<RandomAccessStreamReference> ConvertContactToVCardAsync(Contact contact, uint maxBytes);
function convertContactToVCardAsync(contact, maxBytes)
Public 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