Compartilhar via


WalletRelevantLocation.Position Propriedade

Definição

Cuidado

O namespace ApplicationModel.Wallet não tem mais suporte e, em breve, será preterido. Os desenvolvedores são incentivados a evitar o uso desse namespace.

Obtém ou define as informações básicas de posição geográfica do local.

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

Valor da propriedade

A posição geográfica básica da localização. BasicGeoposition é uma estrutura, portanto, use a sintaxe de campo para definir os dados de Latitude e Longitude .

Atributos

Aplica-se a

Confira também