共用方式為


CoordinateSystem.Geography 方法

以識別碼來取得或建立地理座標系統,如果指定 null 則使用預設值。

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

語法

'宣告
Public Shared Function Geography ( _
    epsgId As Nullable(Of Integer) _
) As CoordinateSystem
'用途
Dim epsgId As Nullable(Of Integer)
Dim returnValue As CoordinateSystem

returnValue = CoordinateSystem.Geography(epsgId)
public static CoordinateSystem Geography(
    Nullable<int> epsgId
)
public:
static CoordinateSystem^ Geography(
    Nullable<int> epsgId
)
static member Geography : 
        epsgId:Nullable<int> -> CoordinateSystem 
public static function Geography(
    epsgId : Nullable<int>
) : CoordinateSystem

參數

  • epsgId
    型別:System.Nullable<Int32>
    座標系統識別碼 (根據 EPSG)。Null 表示應傳回預設值。

傳回值

型別:System.Spatial.CoordinateSystem
座標系統。

請參閱

參考

CoordinateSystem 類別

System.Spatial 命名空間