IContactInformation.ToVcardAsync 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
ToVcardAsync() |
Retrieves a vCard representation of the contact using the vCard version 3.0 format. |
ToVcardAsync(VCardFormat) |
Retrieves a vCard representation of the contact using the specified vCard format. |
ToVcardAsync()
Retrieves a vCard representation of the contact using the vCard version 3.0 format.
public:
IAsyncOperation<IRandomAccessStream ^> ^ ToVcardAsync();
/// [Windows.Foundation.Metadata.Overload("ToVcardAsync")]
IAsyncOperation<IRandomAccessStream> ToVcardAsync();
[Windows.Foundation.Metadata.Overload("ToVcardAsync")]
public IAsyncOperation<IRandomAccessStream> ToVcardAsync();
function toVcardAsync()
Public Function ToVcardAsync () As IAsyncOperation(Of IRandomAccessStream)
Returns
When this method completes, it returns a stream containing the vCard data. If you use Asynchronous programming, the result type is IRandomAccessStream, which is the data.
- Attributes
Windows requirements
App capabilities |
ID_CAP_CONTACTS [Windows Phone]
|
See also
Applies to
ToVcardAsync(VCardFormat)
Retrieves a vCard representation of the contact using the specified vCard format.
public:
IAsyncOperation<IRandomAccessStream ^> ^ ToVcardAsync(VCardFormat format);
/// [Windows.Foundation.Metadata.Overload("ToVcardWithOptionsAsync")]
IAsyncOperation<IRandomAccessStream> ToVcardAsync(VCardFormat const& format);
[Windows.Foundation.Metadata.Overload("ToVcardWithOptionsAsync")]
public IAsyncOperation<IRandomAccessStream> ToVcardAsync(VCardFormat format);
function toVcardAsync(format)
Public Function ToVcardAsync (format As VCardFormat) As IAsyncOperation(Of IRandomAccessStream)
Parameters
- format
- VCardFormat
The format that the returned vCard will use.
Returns
When this method completes, it returns a stream containing the vCard data. If you use Asynchronous programming, the result type is IRandomAccessStream, which is the data.
- Attributes
Windows requirements
App capabilities |
ID_CAP_CONTACTS [Windows Phone]
|