Share via


WalletRelevantLocation.Position Property

Definition

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

Applies to

See also