DataPackage.SetStorageItems(IIterable(IStorageItem)) | setStorageItems(IIterable(IStorageItem)) method

Applies to Windows and Windows Phone

Sets the files and folders contained in a DataPackage.

Syntax


dataPackage.setStorageItems(value);

Parameters

value

Type: IIterable<IStorageItem> [JavaScript/C++] | System.Collections.Generic.IEnumerable<IStorageItem> [.NET]

The files and folders to be added to the DataPackage.

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

DataPackage
SetStorageItems(IIterable(IStorageItem), Boolean)

 

 

Show:
© 2014 Microsoft