ContactManagerForUser.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:
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
Returns
A stream containing the vCard data.
- Attributes
Windows requirements
App capabilities |
contactsSystem
|
See also
Applies to
ConvertContactToVCardAsync(Contact, UInt32)
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
- 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
|