共用方式為


DbSpatialServices.GeometryMultiPointFromBinary 方法

[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]

根據指定的已知二進位值和座標系統識別項,建立新的 DbGeometry 多點值。

命名空間:  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")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "multiPoint",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "MultiPoint",  _
    Justification := "Match OGC, EDM")> _
Public MustOverride Function GeometryMultiPointFromBinary ( _
    multiPointWellKnownBinary As Byte(), _
    coordinateSystemId As Integer _
) As DbGeometry
'用途
Dim instance As DbSpatialServices 
Dim multiPointWellKnownBinary As Byte()
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeometry 

returnValue = instance.GeometryMultiPointFromBinary(multiPointWellKnownBinary, _
    coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiPoint", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiPoint", 
    Justification = "Match OGC, EDM")]
public abstract DbGeometry GeometryMultiPointFromBinary(
    byte[] multiPointWellKnownBinary,
    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")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"multiPoint", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"MultiPoint", 
    Justification = L"Match OGC, EDM")]
public:
virtual DbGeometry^ GeometryMultiPointFromBinary(
    array<unsigned char>^ multiPointWellKnownBinary, 
    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")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiPoint", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiPoint", 
    Justification = "Match OGC, EDM")>]
abstract GeometryMultiPointFromBinary : 
        multiPointWellKnownBinary:byte[] * 
        coordinateSystemId:int -> DbGeometry
public abstract function GeometryMultiPointFromBinary(
    multiPointWellKnownBinary : byte[], 
    coordinateSystemId : int
) : DbGeometry

參數

  • multiPointWellKnownBinary
    類型:System.Byte[]
    已知二進位值。
  • coordinateSystemId
    類型:System.Int32
    座標系統識別項。

傳回值

類型:System.Data.Entity.Spatial.DbGeometry
新的 DbGeometry 多點值。

請參閱

參考

DbSpatialServices 類別

System.Data.Entity.Spatial 命名空間