IContactInformation.ToVcardAsync(VCardFormat) method

Retrieves a vCard representation of the contact using the specified vCard format.

Syntax


IAsyncOperation<IRandomAccessStream> ToVcardAsync(
  VCardFormat format
)

Parameters

format

Type: VCardFormat

The format that the returned vCard will use.

Return value

Type: IAsyncOperation<IRandomAccessStream>

When this method completes, it returns a stream containing the vCard data. If you use awaitable syntax, the result type is IRandomAccessStream, which is the data.

Requirements (device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (operating system)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.PersonalInformation
Windows::Phone::PersonalInformation [C++]

Metadata

Windows.WinMD

See also

IContactInformation
ToVcardAsync

 

 

Community Additions

ADD
Show:
© 2015 Microsoft