DataPackage.SetStorageItems Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
The files and folders to be added to the DataPackage.
- readOnly
-
Boolean
bool
Specify true if the files are read-only; false otherwise.
- Attributes