DbSpatialServices.GeographyLineFromBinary(Byte[], Int32) Metod

Definition

Skapar ett nytt DbGeography radvärde baserat på det angivna välkända binära värdet och koordinatsystemidentifieraren (SRID).

public:
 abstract System::Data::Spatial::DbGeography ^ GeographyLineFromBinary(cli::array <System::Byte> ^ lineWellKnownBinary, int coordinateSystemId);
public abstract System.Data.Spatial.DbGeography GeographyLineFromBinary(byte[] lineWellKnownBinary, int coordinateSystemId);
abstract member GeographyLineFromBinary : byte[] * int -> System.Data.Spatial.DbGeography
Public MustOverride Function GeographyLineFromBinary (lineWellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeography

Parametrar

lineWellKnownBinary
Byte[]

En bytematris som innehåller en välkänd binär representation av geografivärdet.

coordinateSystemId
Int32

Identifieraren för koordinatsystemet som det nya DbGeography värdet ska använda.

Returer

Ett nytt DbGeography värde som definieras av det välkända binära värdet med den angivna koordinatsystemidentifieraren (SRID) (DefaultCoordinateSystemId).

Undantag

lineWellKnownBinary

coordinateSystemId

Gäller för