共用方式為


GeographyPoint.Create 方法 (Double, Double, Nullable<Double>, Nullable<Double>)

使用指定的緯度、經度和維度來建立地理點。

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

語法

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

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

參數

傳回值

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

請參閱

參考

GeographyPoint 類別

Create 多載

System.Spatial 命名空間