DbSpatialServices.GeographyCollectionFromBinary(Byte[], Int32) Metod

Definition

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

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

Parametrar

geographyCollectionWellKnownBinary
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

geographyCollectionWellKnownBinary

coordinateSystemId

Gäller för