WalletRelevantLocation.Position 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 是一种结构,因此请使用字段语法来设置 纬度 和 经度 数据。
- 属性