DbSpatialServices.GetDimension 方法
定义
如果值为集合,则获取给定 DbGeography 值的维度或最大的元素维度。Gets the dimension of the given DbGeography value or, if the value is a collections, the largest element dimension.
重载
| GetDimension(DbGeography) |
如果值为集合,则获取给定 DbGeography 值的维度或最大的元素维度。Gets the dimension of the given DbGeography value or, if the value is a collections, the largest element dimension. |
| GetDimension(DbGeometry) |
如果值为集合,则获取给定 DbGeometry 值的维度或最大的元素维度。Gets the dimension of the given DbGeometry value or, if the value is a collections, the largest element dimension. |
GetDimension(DbGeography)
如果值为集合,则获取给定 DbGeography 值的维度或最大的元素维度。Gets the dimension of the given DbGeography value or, if the value is a collections, the largest element dimension.
public:
abstract int GetDimension(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract int GetDimension (System.Data.Spatial.DbGeography geographyValue);
abstract member GetDimension : System.Data.Spatial.DbGeography -> int
Public MustOverride Function GetDimension (geographyValue As DbGeography) As Integer
参数
- geographyValue
- DbGeography
尺寸值应被检索的地理值。The geography value for which the dimension value should be retrieved.
返回
如果 DbGeography 为集合,则为 geographyValue 的维度或最大的元素维度。The dimension of geographyValue, or the largest element dimension if DbGeography is a collection.
例外
geographyValue
geographyValue
适用于
GetDimension(DbGeometry)
如果值为集合,则获取给定 DbGeometry 值的维度或最大的元素维度。Gets the dimension of the given DbGeometry value or, if the value is a collections, the largest element dimension.
public:
abstract int GetDimension(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract int GetDimension (System.Data.Spatial.DbGeometry geometryValue);
abstract member GetDimension : System.Data.Spatial.DbGeometry -> int
Public MustOverride Function GetDimension (geometryValue As DbGeometry) As Integer
参数
- geometryValue
- DbGeometry
尺寸值应被检索的几何图形值。The geometry value for which the dimension value should be retrieved.
返回
如果 DbGeometry 为集合,则为 geometryValue 的维度或最大的元素维度。The dimension of geometryValue, or the largest element dimension if DbGeometry is a collection.
例外
geometryValue
geometryValue