DbSpatialServices.GeographyMultiPolygonFromBinary 方法
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
基于指定的已知二进制值和坐标系标识符,创建一个新的 DbGeography 多多边形值。
命名空间: System.Data.Entity.Spatial
程序集: EntityFramework(在 EntityFramework.dll 中)
语法
声明
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi", _
Justification := "Match OGC, EDM")> _
Public MustOverride Function GeographyMultiPolygonFromBinary ( _
multiPolygonWellKnownBinary As Byte(), _
coordinateSystemId As Integer _
) As DbGeography
用法
Dim instance As DbSpatialServices
Dim multiPolygonWellKnownBinary As Byte()
Dim coordinateSystemId As Integer
Dim returnValue As DbGeography
returnValue = instance.GeographyMultiPolygonFromBinary(multiPolygonWellKnownBinary, _
coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")]
public abstract DbGeography GeographyMultiPolygonFromBinary(
byte[] multiPolygonWellKnownBinary,
int coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Multi",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"multi",
Justification = L"Match OGC, EDM")]
public:
virtual DbGeography^ GeographyMultiPolygonFromBinary(
array<unsigned char>^ multiPolygonWellKnownBinary,
int coordinateSystemId
) abstract
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")>]
abstract GeographyMultiPolygonFromBinary :
multiPolygonWellKnownBinary:byte[] *
coordinateSystemId:int -> DbGeography
public abstract function GeographyMultiPolygonFromBinary(
multiPolygonWellKnownBinary : byte[],
coordinateSystemId : int
) : DbGeography
参数
- multiPolygonWellKnownBinary
类型:System.Byte[]
已知的二进制值。
- coordinateSystemId
类型:System.Int32
坐标系标识符。
返回值
类型:System.Data.Entity.Spatial.DbGeography
新 DbGeography 多边形值。