WalletRelevantLocation.Position Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.
Gets or sets the basic geographic position information of the location.
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
Property Value
The basic geographic position of the location. BasicGeoposition is a structure, so use field syntax to set the Latitude and Longitude data.
- Attributes