Share via


DataPackagePropertySet.ContentSourceUserActivityJson Property

Definition

Gets or sets the UserActivity in serialized JSON format to be shared with another app.

public:
 property Platform::String ^ ContentSourceUserActivityJson { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring ContentSourceUserActivityJson();

void ContentSourceUserActivityJson(winrt::hstring value);
public string ContentSourceUserActivityJson { get; set; }
var string = dataPackagePropertySet.contentSourceUserActivityJson;
dataPackagePropertySet.contentSourceUserActivityJson = string;
Public Property ContentSourceUserActivityJson As String

Property Value

String

Platform::String

winrt::hstring

The UserActivity in serialized JSON format to be shared with another app.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to

See also