PlaceInfo.CreateFromAddress PlaceInfo.CreateFromAddress PlaceInfo.CreateFromAddress PlaceInfo.CreateFromAddress PlaceInfo.CreateFromAddress Method

Definition

Overloads

CreateFromAddress(String) CreateFromAddress(String) CreateFromAddress(String) CreateFromAddress(String) CreateFromAddress(String)

Creates a PlaceInfo instance by using an address.

CreateFromAddress(String, String) CreateFromAddress(String, String) CreateFromAddress(String, String) CreateFromAddress(String, String) CreateFromAddress(String, String)

Creates a PlaceInfo instance by using an address and a display name.

CreateFromAddress(String) CreateFromAddress(String) CreateFromAddress(String) CreateFromAddress(String) CreateFromAddress(String)

Creates a PlaceInfo instance by using an address.

public : static PlaceInfo CreateFromAddress(Platform::String displayAddress)
static PlaceInfo CreateFromAddress(winrt::hstring displayAddress) const;
public static PlaceInfo CreateFromAddress(String displayAddress)
Public Shared Function CreateFromAddress(displayAddress As String) As PlaceInfo
var placeInfo = Windows.Services.Maps.PlaceInfo.createFromAddress(displayAddress);

Parameters

displayAddress
String String String

The address of the location that you want to appear in the placecard.

Returns

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

CreateFromAddress(String, String) CreateFromAddress(String, String) CreateFromAddress(String, String) CreateFromAddress(String, String) CreateFromAddress(String, String)

Creates a PlaceInfo instance by using an address and a display name.

public : static PlaceInfo CreateFromAddress(Platform::String displayAddress, Platform::String displayName)
static PlaceInfo CreateFromAddress(winrt::hstring displayAddress, winrt::hstring displayName) const;
public static PlaceInfo CreateFromAddress(String displayAddress, String displayName)
Public Shared Function CreateFromAddress(displayAddress As String, displayName As String) As PlaceInfo
var placeInfo = Windows.Services.Maps.PlaceInfo.createFromAddress(displayAddress, displayName);

Parameters

displayAddress
String String String

The address of the location that you want to appear in the placecard.

displayName
String String String

The name that you want to appear as a label in the placecard.

Returns

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)