DbSpatialServices.GeographyFromBinary Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Membuat nilai DbGeography baru berdasarkan nilai biner terkenal yang ditentukan.
Overload
| GeographyFromBinary(Byte[], Int32) |
Membuat nilai DbGeography baru berdasarkan nilai biner dan pengidentifikasi sistem koordinat (SRID) biner terkenal yang ditentukan. |
| GeographyFromBinary(Byte[]) |
Membuat nilai DbGeography baru berdasarkan nilai biner terkenal yang ditentukan. |
GeographyFromBinary(Byte[], Int32)
Membuat nilai DbGeography baru berdasarkan nilai biner dan pengidentifikasi sistem koordinat (SRID) biner terkenal yang ditentukan.
public:
abstract System::Data::Spatial::DbGeography ^ GeographyFromBinary(cli::array <System::Byte> ^ wellKnownBinary, int coordinateSystemId);
public abstract System.Data.Spatial.DbGeography GeographyFromBinary (byte[] wellKnownBinary, int coordinateSystemId);
abstract member GeographyFromBinary : byte[] * int -> System.Data.Spatial.DbGeography
Public MustOverride Function GeographyFromBinary (wellKnownBinary As Byte(), coordinateSystemId As Integer) As DbGeography
Parameter
- wellKnownBinary
- Byte[]
Array byte yang berisi representasi biner terkenal dari nilai geografi.
- coordinateSystemId
- Int32
Pengidentifikasi sistem koordinat yang harus digunakan nilai DbGeography baru.
Mengembalikan
Nilai DbGeography baru seperti yang didefinisikan oleh nilai biner terkenal dengan pengidentifikasi sistem koordinat (SRID) yang ditentukan (DefaultCoordinateSystemId).
Pengecualian
wellKnownBinary
coordinateSystemId
Berlaku untuk
GeographyFromBinary(Byte[])
Membuat nilai DbGeography baru berdasarkan nilai biner terkenal yang ditentukan.
public:
abstract System::Data::Spatial::DbGeography ^ GeographyFromBinary(cli::array <System::Byte> ^ wellKnownBinary);
public abstract System.Data.Spatial.DbGeography GeographyFromBinary (byte[] wellKnownBinary);
abstract member GeographyFromBinary : byte[] -> System.Data.Spatial.DbGeography
Public MustOverride Function GeographyFromBinary (wellKnownBinary As Byte()) As DbGeography
Parameter
- wellKnownBinary
- Byte[]
Array byte yang berisi representasi biner terkenal dari nilai geografi.
Mengembalikan
Nilai DbGeography baru seperti yang didefinisikan oleh nilai biner terkenal dengan pengidentifikasi sistem koordinat (SRID) DbGeography default (DefaultCoordinateSystemId).
Pengecualian
wellKnownBinary