Compartir a través de


GeotagHelper.SetGeotagFromGeolocatorAsync(IStorageFile, Geolocator) Método

Definición

Establece de forma asincrónica los metadatos geográficos de un archivo en la ubicación actual del dispositivo mediante el objeto Geolocator proporcionado.

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

Parámetros

file
IStorageFile

Archivo en el que se establecen los metadatos geográficos.

geolocator
Geolocator

Objeto Geolocator que se usará para determinar la ubicación actual del dispositivo.

Devoluciones

Una acción asincrónica.

Atributos

Se aplica a