SqlSpatialServices.AsBinary 方法

定义

重载

AsBinary(DbGeography)

获取给定 DbGeography 值的已知二进制表示形式。

AsBinary(DbGeometry)

获取给定 DbGeometry 值的已知二进制表示形式。

AsBinary(DbGeography)

获取给定 DbGeography 值的已知二进制表示形式。

public override byte[] AsBinary(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.AsBinary : System.Data.Entity.Spatial.DbGeography -> byte[]
Public Overrides Function AsBinary (geographyValue As DbGeography) As Byte()

参数

geographyValue
DbGeography

熟知的二进制应被生成的地理值。

返回

Byte[]

已知二进制表示形式给定 DbGeography 的值。

适用于

AsBinary(DbGeometry)

获取给定 DbGeometry 值的已知二进制表示形式。

public override byte[] AsBinary(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.AsBinary : System.Data.Entity.Spatial.DbGeometry -> byte[]
Public Overrides Function AsBinary (geometryValue As DbGeometry) As Byte()

参数

geometryValue
DbGeometry

熟知的二进制应被生成的几何图形值。

返回

Byte[]

已知二进制表示形式给定 DbGeography 的值。

适用于