语言

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 值的已知二进制表示形式。

适用于