Export (0) Print
Expand All

DbSpatialServices.GeographyFromBinary Method (Byte[])

.NET Framework 4.5

Creates a new DbGeography value based on the specified well-known binary value.

Namespace:  System.Data.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract DbGeography GeographyFromBinary(
	byte[] wellKnownBinary
)

Parameters

wellKnownBinary
Type: System.Byte[]

A byte array that contains a well-known binary representation of the geography value.

Return Value

Type: System.Data.Spatial.DbGeography
A new DbGeography value as defined by the well-known binary value with the default DbGeography coordinate system identifier (SRID) (DefaultCoordinateSystemId).

ExceptionCondition
ArgumentNullException

wellKnownBinary

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft