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

IAsyncOperation<RandomAccessStreamReference>

A stream containing the vCard data.

Attributes

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

The maximum size for the vCard in bytes.

Returns

IAsyncOperation<RandomAccessStreamReference>

A stream containing the vCard data.

Attributes

Windows 10 requirements

App capabilities
contactsSystem

See also

Applies to