DbSpatialServices.GeographyPolygonFromBinary(Byte[], Int32) 方法
定义
创建基于指定已知二进制值和坐标系统标识符 (SRID) 的新 DbGeography 多多边形值。Creates a new DbGeography polygon value based on the specified well-known binary value and coordinate system identifier (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
参数
- polygonWellKnownBinary
- Byte[]
包含地理值的知名二进制表示形式的字节数组。A byte array that contains a well-known binary representation of the geography value.
- coordinateSystemId
- Int32
新建 DbGeography 值应使用的坐标系的标识符。The identifier of the coordinate system that the new DbGeography value should use.
返回
通过指定坐标系统标识符 (SRID) 由知名二进制值定义的新的 DbGeography 值 DefaultCoordinateSystemId。A new DbGeography value as defined by the well-known binary value with the specified coordinate system identifier (SRID) (DefaultCoordinateSystemId).
例外
polygonWellKnownBinary
coordinateSystemId