共用方式為


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 值的已知二進位表示法。

適用於