DbGeography.GeographyCollectionFromBinary(Byte[], Int32) 方法

定义

创建基于指定已知二进制值和坐标系统标识符 (SRID) 的新 DbGeography 集合值。

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

参数

geographyCollectionWellKnownBinary
Byte[]

包含地理值的知名二进制表示形式的字节数组。

coordinateSystemId
Int32

新 DbGeography 值应使用的坐标系的标识符。

返回

通过指定坐标系统标识符由知名二进制值定义的新的 DbGeography 值。

例外

geographyCollectionWellKnownBinary

coordinateSystemId

适用于