DataPackage.SetStorageItems Method

Definition

Overloads

SetStorageItems(IEnumerable<IStorageItem>)

Sets the files and folders contained in a DataPackage.

SetStorageItems(IEnumerable<IStorageItem>, Boolean)

Adds files and folders to a DataPackage.

SetStorageItems(IEnumerable<IStorageItem>)

Sets the files and folders contained in a DataPackage.

public:
 virtual void SetStorageItems(IIterable<IStorageItem ^> ^ value) = SetStorageItems;
/// [Windows.Foundation.Metadata.Overload("SetStorageItemsReadOnly")]
void SetStorageItems(IIterable<IStorageItem> const & value);
[Windows.Foundation.Metadata.Overload("SetStorageItemsReadOnly")]
public void SetStorageItems(IEnumerable<IStorageItem> value);
function setStorageItems(value)
Public Sub SetStorageItems (value As IEnumerable(Of IStorageItem))

Parameters

value
IEnumerable<IStorageItem>

The files and folders to be added to the DataPackage.

Attributes

See also

Applies to

SetStorageItems(IEnumerable<IStorageItem>, Boolean)

Adds files and folders to a DataPackage.

public:
 virtual void SetStorageItems(IIterable<IStorageItem ^> ^ value, bool readOnly) = SetStorageItems;
/// [Windows.Foundation.Metadata.Overload("SetStorageItems")]
void SetStorageItems(IIterable<IStorageItem> const & value, bool readOnly);
[Windows.Foundation.Metadata.Overload("SetStorageItems")]
public void SetStorageItems(IEnumerable<IStorageItem> value, bool readOnly);
function setStorageItems(value, readOnly)
Public Sub SetStorageItems (value As IEnumerable(Of IStorageItem), readOnly As Boolean)

Parameters

value
IEnumerable<IStorageItem>

The files and folders to be added to the DataPackage.

readOnly
Boolean

Specify true if the files are read-only; false otherwise.

Attributes

See also

Applies to