Share via


PlaceInfo.CreateFromIdentifier Method

Definition

Overloads

CreateFromIdentifier(String)

Creates a PlaceInfo instance.

CreateFromIdentifier(String, Geopoint, PlaceInfoCreateOptions)

Creates a PlaceInfo instance.

CreateFromIdentifier(String)

Creates a PlaceInfo instance.

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

Parameters

identifier
String

Platform::String

winrt::hstring

The identifier of the location.

Returns

A PlaceInfo instance that describes the location.

Attributes

Applies to

CreateFromIdentifier(String, Geopoint, PlaceInfoCreateOptions)

Creates a PlaceInfo instance.

public:
 static PlaceInfo ^ CreateFromIdentifier(Platform::String ^ identifier, Geopoint ^ defaultPoint, PlaceInfoCreateOptions ^ options);
/// [Windows.Foundation.Metadata.Overload("CreateFromIdentifierWithOptions")]
 static PlaceInfo CreateFromIdentifier(winrt::hstring const& identifier, Geopoint const& defaultPoint, PlaceInfoCreateOptions const& options);
[Windows.Foundation.Metadata.Overload("CreateFromIdentifierWithOptions")]
public static PlaceInfo CreateFromIdentifier(string identifier, Geopoint defaultPoint, PlaceInfoCreateOptions options);
function createFromIdentifier(identifier, defaultPoint, options)
Public Shared Function CreateFromIdentifier (identifier As String, defaultPoint As Geopoint, options As PlaceInfoCreateOptions) As PlaceInfo

Parameters

identifier
String

Platform::String

winrt::hstring

The identifier of the location.

defaultPoint
Geopoint

The geographic map location that you want to show in a light-dismissible window.

Note

This value is used only if the identifier is invalid, the device is offline, or the details of the place can't be obtained by using the identifier.

options
PlaceInfoCreateOptions

The optional information that describes this location. This information will appear in the light-dismissible window.

Note

This value is used only if the identifier is invalid, the device is offline, or the details of the place can't be obtained by using the identifier.

Returns

A PlaceInfo instance that describes the location.

Attributes

Applies to