ContactManager.ConvertContactToVCardAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConvertContactToVCardAsync(Contact) |
Asynchronously converts a Contact to a vCard. |
ConvertContactToVCardAsync(Contact, UInt32) |
Asynchronously converts a Contact to a vCard. |
ConvertContactToVCardAsync(Contact)
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
Returns
A stream containing the vCard data.
- Attributes
Windows requirements
App capabilities |
contactsSystem
|
See also
Applies to
ConvertContactToVCardAsync(Contact, UInt32)
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
- 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
|