PlaceInfo.Create 方法

定义

重载

Create(Geopoint)

创建一个 PlaceInfo 实例。

Create(Geopoint, PlaceInfoCreateOptions)

创建一个 PlaceInfo 实例。

Create(Geopoint)

创建一个 PlaceInfo 实例。

public:
 static PlaceInfo ^ Create(Geopoint ^ referencePoint);
/// [Windows.Foundation.Metadata.Overload("Create")]
 static PlaceInfo Create(Geopoint const& referencePoint);
[Windows.Foundation.Metadata.Overload("Create")]
public static PlaceInfo Create(Geopoint referencePoint);
function create(referencePoint)
Public Shared Function Create (referencePoint As Geopoint) As PlaceInfo

参数

referencePoint
Geopoint

要在光线允许的窗口中显示的地理地图位置。

返回

描述位置的 PlaceInfo 实例。

属性

适用于

Create(Geopoint, PlaceInfoCreateOptions)

创建一个 PlaceInfo 实例。

public:
 static PlaceInfo ^ Create(Geopoint ^ referencePoint, PlaceInfoCreateOptions ^ options);
/// [Windows.Foundation.Metadata.Overload("CreateWithGeopointAndOptions")]
 static PlaceInfo Create(Geopoint const& referencePoint, PlaceInfoCreateOptions const& options);
[Windows.Foundation.Metadata.Overload("CreateWithGeopointAndOptions")]
public static PlaceInfo Create(Geopoint referencePoint, PlaceInfoCreateOptions options);
function create(referencePoint, options)
Public Shared Function Create (referencePoint As Geopoint, options As PlaceInfoCreateOptions) As PlaceInfo

参数

referencePoint
Geopoint

要在光线允许的窗口中显示的地理地图位置。

options
PlaceInfoCreateOptions

描述此位置的可选信息。 此信息将显示在光允许的窗口中。

返回

描述位置的 PlaceInfo 实例。

属性

适用于