MapService.DataUsagePreference 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 or sets an object that specifies whether to use offline or online map data.
public:
static property MapServiceDataUsagePreference DataUsagePreference { MapServiceDataUsagePreference get(); void set(MapServiceDataUsagePreference value); };
static MapServiceDataUsagePreference DataUsagePreference();
static void DataUsagePreference(MapServiceDataUsagePreference value);
public static MapServiceDataUsagePreference DataUsagePreference { get; set; }
var mapServiceDataUsagePreference = MapService.dataUsagePreference;
MapService.dataUsagePreference = mapServiceDataUsagePreference;
Public Shared Property DataUsagePreference As MapServiceDataUsagePreference
Property Value
An object that specifies whether to use offline or online map data.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|