GeotagHelper.SetGeotagFromGeolocatorAsync(IStorageFile, Geolocator) メソッド

定義

指定された Geolocator オブジェクトを使用して、ファイルの地理的メタデータをデバイスの現在の場所に非同期的に設定します。

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

パラメーター

file
IStorageFile

地理的メタデータが設定されているファイル。

geolocator
Geolocator

デバイスの現在の場所を決定するために使用される Geolocator オブジェクト。

戻り値

非同期アクション。

属性

適用対象