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

定义

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

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

参数

polygonWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

返回

由具有指定坐标系标识符的已知二进制值定义的新的 DbGeography 值。

例外

polygonWellKnownBinary

coordinateSystemId

适用于