次の方法で共有


DbGeography.GeographyCollectionFromBinary メソッド

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

指定した既知のバイナリ値と座標系識別子 (SRID) に基づいて、新しい DbGeography のコレクションの値を作成します。

名前空間:  System.Data.Entity.Spatial
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Shared Function GeographyCollectionFromBinary ( _
    geographyCollectionWellKnownBinary As Byte(), _
    coordinateSystemId As Integer _
) As DbGeography
'使用
Dim geographyCollectionWellKnownBinary As Byte()
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeography 

returnValue = DbGeography.GeographyCollectionFromBinary(geographyCollectionWellKnownBinary, _
    coordinateSystemId)
public static DbGeography GeographyCollectionFromBinary(
    byte[] geographyCollectionWellKnownBinary,
    int coordinateSystemId
)
public:
static DbGeography^ GeographyCollectionFromBinary(
    array<unsigned char>^ geographyCollectionWellKnownBinary, 
    int coordinateSystemId
)
static member GeographyCollectionFromBinary : 
        geographyCollectionWellKnownBinary:byte[] * 
        coordinateSystemId:int -> DbGeography
public static function GeographyCollectionFromBinary(
    geographyCollectionWellKnownBinary : byte[], 
    coordinateSystemId : int
) : DbGeography

パラメーター

  • geographyCollectionWellKnownBinary
    型 : System.Byte[]
    geography 値の既知のバイナリ表現を含むバイト配列。
  • coordinateSystemId
    型 : System.Int32
    新しい DbGeography 値を使用する必要がある座標系の識別子。

戻り値

型 : System.Data.Entity.Spatial.DbGeography
指定された座標系識別子を持つ既知のバイナリ値によって定義される新しい DbGeography 値。

参照

参照

DbGeography クラス

System.Data.Entity.Spatial 名前空間