Condividi tramite


PlaceInfo.CreateFromAddress Metodo

Definizione

Overload

CreateFromAddress(String)

Crea un'istanza PlaceInfo usando un indirizzo.

CreateFromAddress(String, String)

Crea un'istanza PlaceInfo usando un indirizzo e un nome visualizzato.

CreateFromAddress(String)

Crea un'istanza PlaceInfo usando un indirizzo.

public:
 static PlaceInfo ^ CreateFromAddress(Platform::String ^ displayAddress);
/// [Windows.Foundation.Metadata.Overload("CreateFromAddress")]
 static PlaceInfo CreateFromAddress(winrt::hstring const& displayAddress);
[Windows.Foundation.Metadata.Overload("CreateFromAddress")]
public static PlaceInfo CreateFromAddress(string displayAddress);
function createFromAddress(displayAddress)
Public Shared Function CreateFromAddress (displayAddress As String) As PlaceInfo

Parametri

displayAddress
String

Platform::String

winrt::hstring

Indirizzo della posizione che si desidera visualizzare nella segnaposto.

Restituisce

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1803 (è stato introdotto in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v6.0)

Si applica a

CreateFromAddress(String, String)

Crea un'istanza PlaceInfo usando un indirizzo e un nome visualizzato.

public:
 static PlaceInfo ^ CreateFromAddress(Platform::String ^ displayAddress, Platform::String ^ displayName);
/// [Windows.Foundation.Metadata.Overload("CreateFromAddressWithName")]
 static PlaceInfo CreateFromAddress(winrt::hstring const& displayAddress, winrt::hstring const& displayName);
[Windows.Foundation.Metadata.Overload("CreateFromAddressWithName")]
public static PlaceInfo CreateFromAddress(string displayAddress, string displayName);
function createFromAddress(displayAddress, displayName)
Public Shared Function CreateFromAddress (displayAddress As String, displayName As String) As PlaceInfo

Parametri

displayAddress
String

Platform::String

winrt::hstring

Indirizzo della posizione che si desidera visualizzare nella segnaposto.

displayName
String

Platform::String

winrt::hstring

Nome da visualizzare come etichetta nella segnaposto.

Restituisce

Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1803 (è stato introdotto in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v6.0)

Si applica a