UserActivity.IsRoamable Property
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.
Gets and sets whether the particular activity's metadata should be uploaded to the Microsoft Cloud.
public:
property bool IsRoamable { bool get(); void set(bool value); };
bool IsRoamable();
void IsRoamable(bool value);
public bool IsRoamable { get; set; }
var boolean = userActivity.isRoamable;
userActivity.isRoamable = boolean;
Public Property IsRoamable As Boolean
Property Value
bool
The boolean representing whether metadata should uploaded. If not set, this property defaults to True.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Remarks
When this property is set to False, the activity and its associated metadata will not be uploaded. The activity can still be serialized to JSON, put on the clipboard, and otherwise made available to other applications. In that case, it is the responsibility of the application receiving the activity to determine whether or not to enforce this property.