DataPackageView.GetDataAsync(String) DataPackageView.GetDataAsync(String) DataPackageView.GetDataAsync(String) DataPackageView.GetDataAsync(String) DataPackageView.GetDataAsync(String) Method

Definition

Gets the data contained in the DataPackageView.

public : IAsyncOperation<Platform::Object> GetDataAsync(Platform::String formatId)
IAsyncOperation<winrt::Windows::Foundation::IInspectable> GetDataAsync(winrt::hstring formatId) const;
public IAsyncOperation<object> GetDataAsync(String formatId)
Public Function GetDataAsync(formatId As String) As IAsyncOperation(Of object)
Windows.ApplicationModel.DataTransfer.DataPackageView.getDataAsync(formatId).done( /* Your success and error handlers */ );

Parameters

formatId
String String String

Specifies the format of the data. We recommend that you set this value by using the StandardDataFormats class.

Returns