次の方法で共有


DbGeography.MultiPolygonFromBinary メソッド

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

既知のバイナリ値からマルチポリゴン値を返します。

名前空間:  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 Shared Function MultiPolygonFromBinary ( _
    multiPolygonWellKnownBinary As Byte(), _
    coordinateSystemId As Integer _
) As DbGeography
'使用
Dim multiPolygonWellKnownBinary As Byte()
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeography 

returnValue = DbGeography.MultiPolygonFromBinary(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 static DbGeography MultiPolygonFromBinary(
    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:
static DbGeography^ MultiPolygonFromBinary(
    array<unsigned char>^ multiPolygonWellKnownBinary, 
    int coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")>]
static member MultiPolygonFromBinary : 
        multiPolygonWellKnownBinary:byte[] * 
        coordinateSystemId:int -> DbGeography
public static function MultiPolygonFromBinary(
    multiPolygonWellKnownBinary : byte[], 
    coordinateSystemId : int
) : DbGeography

パラメーター

  • multiPolygonWellKnownBinary
    型 : System.Byte[]
    既知のバイナリ値からのマルチポリゴン。
  • coordinateSystemId
    型 : System.Int32
    座標系識別子。

戻り値

型 : System.Data.Entity.Spatial.DbGeography
既知のバイナリ値からのマルチポリゴン値。

参照

参照

DbGeography クラス

System.Data.Entity.Spatial 名前空間