GeotagHelper クラス

定義

ファイルの地理的メタデータを設定および取得するためのメソッドを提供します。

public ref class GeotagHelper abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GeotagHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class GeotagHelper
Public Class GeotagHelper
継承
Object Platform::Object IInspectable GeotagHelper
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

メソッド

GetGeotagAsync(IStorageFile)

ファイルの地理的メタデータを表す GeoPoint (存在する場合) を非同期的に取得します。

SetGeotagAsync(IStorageFile, Geopoint)

指定された GeoPoint からファイルの地理的メタデータを非同期に設定します。

SetGeotagFromGeolocatorAsync(IStorageFile, Geolocator)

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

適用対象

こちらもご覧ください