共用方式為


GeographyPoint.Create 方法 (Double, Double)

使用指定的緯度與經度來建立地理點。

命名空間:  System.Spatial
組件:  System.Spatial (在 System.Spatial.dll 中)

語法

'宣告
Public Shared Function Create ( _
    latitude As Double, _
    longitude As Double _
) As GeographyPoint
'用途
Dim latitude As Double
Dim longitude As Double
Dim returnValue As GeographyPoint

returnValue = GeographyPoint.Create(latitude, _
    longitude)
public static GeographyPoint Create(
    double latitude,
    double longitude
)
public:
static GeographyPoint^ Create(
    double latitude, 
    double longitude
)
static member Create : 
        latitude:float * 
        longitude:float -> GeographyPoint 
public static function Create(
    latitude : double, 
    longitude : double
) : GeographyPoint

參數

傳回值

型別:System.Spatial.GeographyPoint
已建立的地理點。

請參閱

參考

GeographyPoint 類別

Create 多載

System.Spatial 命名空間