DataPackage.Properties | properties property

Applies to Windows and Windows Phone

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

Syntax


var properties = dataPackage.properties;

Property value

Type: DataPackagePropertySet

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.winmd

See also

DataPackage

 

 

Show:
© 2014 Microsoft