Sdílet prostřednictvím


DbSpatialServices.AsBinary Metoda

Definice

Přetížení

AsBinary(DbGeography)

Získá dobře známou binární reprezentaci dané DbGeography hodnoty.

AsBinary(DbGeometry)

Získá dobře známou binární reprezentaci dané DbGeometry hodnoty.

AsBinary(DbGeography)

Získá dobře známou binární reprezentaci dané DbGeography hodnoty.

public abstract byte[] AsBinary(System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member AsBinary : System.Data.Entity.Spatial.DbGeography -> byte[]
Public MustOverride Function AsBinary (geographyValue As DbGeography) As Byte()

Parametry

geographyValue
DbGeography

Zeměpisná hodnota, pro kterou se má vygenerovat dobře známý binární soubor.

Návraty

Byte[]

Dobře známá binární reprezentace dané DbGeography hodnoty.

Výjimky

geographyValue je null.

geographyValue není kompatibilní s touto implementací prostorových služeb.

Platí pro

AsBinary(DbGeometry)

Získá dobře známou binární reprezentaci dané DbGeometry hodnoty.

public abstract byte[] AsBinary(System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member AsBinary : System.Data.Entity.Spatial.DbGeometry -> byte[]
Public MustOverride Function AsBinary (geometryValue As DbGeometry) As Byte()

Parametry

geometryValue
DbGeometry

Hodnota geometrie, pro kterou se má vygenerovat dobře známý binární soubor.

Návraty

Byte[]

Dobře známá binární reprezentace dané DbGeography hodnoty.

Výjimky

geometryValue je null.

geometryValue není kompatibilní s touto implementací prostorových služeb.

Platí pro