Delen via


DataPackage.Properties Property

Definition

Allows you to get and set properties like the title of the content being shared.

public:
 property DataPackagePropertySet ^ Properties { DataPackagePropertySet ^ get(); };
DataPackagePropertySet Properties();
public DataPackagePropertySet Properties { get; }
var dataPackagePropertySet = dataPackage.properties;
Public ReadOnly Property Properties As DataPackagePropertySet

Property Value

A collection of properties that describe the data contained in a DataPackage.

Remarks

In addition to the content being shared, each instance of a DataPackage object supports a set of properties. Target apps can use these properties to learn more about the content of the DataPackage. Examples of common properties include thumbnail images, title, and file types.

This property contains an instance of the DataPackagePropertySet class. This class supports several properties by default. This class also supports custom properties through its Insert and Lookup methods.

Applies to