DbSpatialDataReader.GetGeography(Int32) 方法

定义

当在派生类型中实现时,从指定列序号的列读取 DbGeography 的实例。

public:
 abstract System::Data::Spatial::DbGeography ^ GetGeography(int ordinal);
public abstract System.Data.Spatial.DbGeography GetGeography (int ordinal);
abstract member GetGeography : int -> System.Data.Spatial.DbGeography
Public MustOverride Function GetGeography (ordinal As Integer) As DbGeography

参数

ordinal
Int32

包含地理值的列的序号。

返回

指定列值的 DbGeography 实例。

适用于