Bagikan melalui


DbSpatialServices.GeographyPolygonFromBinary(Byte[], Int32) Metode

Definisi

Membuat nilai poligon baru DbGeography berdasarkan nilai biner terkenal yang ditentukan dan pengidentifikasi sistem koordinat (SRID).

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

Parameter

polygonWellKnownBinary
Byte[]

Array byte yang berisi representasi biner terkenal dari nilai geografi.

coordinateSystemId
Int32

Pengidentifikasi sistem koordinat yang harus digunakan nilai baru DbGeography .

Mengembalikan

Nilai baru DbGeography sebagaimana didefinisikan oleh nilai biner terkenal dengan pengidentifikasi sistem koordinat (SRID) yang ditentukan (DefaultCoordinateSystemId).

Pengecualian

polygonWellKnownBinary

coordinateSystemId

Berlaku untuk