共用方式為


WalletRelevantLocation.Position 屬性

定義

警告

不再支援 ApplicationModel.Wallet 命名空間,且即將淘汰。 我們鼓勵開發人員避免使用此命名空間。

取得或設定位置的基本地理位置資訊。

public:
 property BasicGeoposition Position { BasicGeoposition get(); void set(BasicGeoposition value); };
BasicGeoposition Position();

void Position(BasicGeoposition value);
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletRelevantLocation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IWalletRelevantLocation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
BasicGeoposition Position();

void Position(BasicGeoposition value);
public BasicGeoposition Position { get; set; }
public BasicGeoposition Position { [Windows.Foundation.Metadata.Deprecated("IWalletRelevantLocation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("IWalletRelevantLocation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] set; }
var basicGeoposition = walletRelevantLocation.position;
walletRelevantLocation.position = basicGeoposition;
Public Property Position As BasicGeoposition

屬性值

位置的基本地理位置。 BasicGeoposition 是一種結構,因此請使用欄位語法來設定 緯度經度 資料。

屬性

適用於

另請參閱