DbSpatialServices.GeometryLineFromBinary(Byte[], Int32) 方法

定义

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

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

参数

lineWellKnownBinary
Byte[]

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

coordinateSystemId
Int32

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

返回

通过指定坐标系统标识符 (SRID) 由知名二进制值定义的新的 DbGeometryDefaultCoordinateSystemId

例外

lineWellKnownBinary

coordinateSystemId

适用于