次の方法で共有


DbGeometry.Relate メソッド

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

この DbGeometry 値と指定した DbGeometry 引数が、指定した DE-9IM (Dimensionally Extended Nine-Intersection Model) 交差パターンに従って空間的に関連しているかどうかを判断します。

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

構文

'宣言
Public Function Relate ( _
    other As DbGeometry, _
    matrix As String _
) As Boolean
'使用
Dim instance As DbGeometry 
Dim other As DbGeometry 
Dim matrix As String 
Dim returnValue As Boolean 

returnValue = instance.Relate(other, matrix)
public bool Relate(
    DbGeometry other,
    string matrix
)
public:
bool Relate(
    DbGeometry^ other, 
    String^ matrix
)
member Relate : 
        other:DbGeometry * 
        matrix:string -> bool
public function Relate(
    other : DbGeometry, 
    matrix : String
) : boolean

パラメーター

  • matrix
    型 : System.String
    関係を定義する (DE-9IM) 交差パターンのテキスト表現を含む文字列。

戻り値

型 : System.Boolean
この geometry 値が指定された交差パターン行列に従って other と関連する場合は true。それ以外の場合は false。

例外

例外 状態
ArgumentNullException

other および matrix が null です。

参照

参照

DbGeometry クラス

System.Data.Entity.Spatial 名前空間