DbSpatialServices.GeographyFromBinary Method

Definition

Overloads

GeographyFromBinary(Byte[], Int32)

Creates a new DbGeography value based on the specified well-known binary value and coordinate system identifier (SRID).

GeographyFromBinary(Byte[])

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

GeographyFromBinary(Byte[], Int32)

Creates a new DbGeography value based on the specified well-known binary value and coordinate system identifier (SRID).

public abstract System.Data.Entity.Spatial.DbGeography GeographyFromBinary (byte[] wellKnownBinary, int coordinateSystemId);
abstract member GeographyFromBinary : byte[] * int -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function GeographyFromBinary (wellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeography

Parameters

wellKnownBinary
Byte[]

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

coordinateSystemId
Int32

The identifier of the coordinate system that the new DbGeography value should use.

Returns

A new DbGeography value as defined by the well-known binary value with the specified coordinate system identifier (SRID) ( DefaultCoordinateSystemId ).

Applies to

GeographyFromBinary(Byte[])

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

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

Parameters

wellKnownBinary
Byte[]

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

Returns

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

Applies to