DataPackageView.GetTextAsync(String) | getTextAsync(String) method

Applies to Windows and Windows Phone

Gets the text in the DataPackageView object.

Syntax


dataPackageView.getTextAsync(formatId).done( /* Your success and error handlers */ );

Parameters

formatId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A string that represents the data format. Usually StandardDataFormats.text.

Return value

Type: IAsyncOperation<String>

The text.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.winmd

See also

DataPackageView
GetTextAsync

 

 

Show:
© 2014 Microsoft