SqlSpatialServices.AsBinary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AsBinary(DbGeography) |
Gets the well-known binary representation of the given DbGeography value. |
AsBinary(DbGeometry) |
Gets the well-known binary representation of the given DbGeometry value. |
AsBinary(DbGeography)
Gets the well-known binary representation of the given DbGeography value.
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()
Parameters
- geographyValue
- DbGeography
The geography value for which the well-known binary should be generated.
Returns
The well-known binary representation of the given DbGeography value.
Applies to
AsBinary(DbGeometry)
Gets the well-known binary representation of the given DbGeometry value.
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()
Parameters
- geometryValue
- DbGeometry
The geometry value for which the well-known binary should be generated.
Returns
The well-known binary representation of the given DbGeography value.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for