ParseVcardAsync method

ContactInformation.ParseVcardAsync method

Parses a vCard from a stream and returns a populated ContactInformation object.

Syntax


Public Shared Function ParseVcardAsync(
  vcard As IInputStream 
) As IAsyncOperation(Of ContactInformation)

Parameters

vcard

Type: IInputStream

A stream containing the vCard data.

Return value

Type: IAsyncOperation<ContactInformation>

When this method completes, it returns a ContactInformation object populated with the data from the vCard. If you use Asynchronous programming, the result type is ContactInformation.

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

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

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

Requirements (Windows 8.x and Windows Phone 8.x)

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

Capabilities

ID_CAP_CONTACTS [Windows Phone]

See also

ContactInformation
Asynchronous programming

 

 

Show:
© 2017 Microsoft