GeotagHelper.SetGeotagFromGeolocatorAsync(IStorageFile, Geolocator) Method
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.
Asynchronously sets the geographic metadata of a file to the device's current location using the provided Geolocator object.
public:
static IAsyncAction ^ SetGeotagFromGeolocatorAsync(IStorageFile ^ file, Geolocator ^ geolocator);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncAction SetGeotagFromGeolocatorAsync(IStorageFile const& file, Geolocator const& geolocator);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction SetGeotagFromGeolocatorAsync(IStorageFile file, Geolocator geolocator);
function setGeotagFromGeolocatorAsync(file, geolocator)
Public Shared Function SetGeotagFromGeolocatorAsync (file As IStorageFile, geolocator As Geolocator) As IAsyncAction
Parameters
- file
- IStorageFile
The file into which the geographic metadata is set.
- geolocator
- Geolocator
The Geolocator object that will be used to determine the device's current location.
Returns
An asynchronous action.
- Attributes