Dela via


DataPackage.SetStorageItems Method

Definition

Overloads

SetStorageItems(IIterable<IStorageItem>)

Sets the files and folders contained in a DataPackage.

SetStorageItems(IIterable<IStorageItem>, Boolean)

Adds files and folders to a DataPackage.

SetStorageItems(IIterable<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

IIterable<IStorageItem>

IEnumerable<IStorageItem>

The files and folders to be added to the DataPackage.

Attributes

See also

Applies to

SetStorageItems(IIterable<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 const& 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

IIterable<IStorageItem>

IEnumerable<IStorageItem>

The files and folders to be added to the DataPackage.

readOnly
Boolean

bool

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

Attributes

See also

Applies to