現在の SqlGeography インスタンスが、指定した SqlGeography と交差するかどうかを示します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STIntersects ( _
other As SqlGeography _
) As SqlBoolean
'使用
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlBoolean
returnValue = instance.STIntersects(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STIntersects(
SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STIntersects(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STIntersects :
other:SqlGeography -> SqlBoolean
public function STIntersects(
other : SqlGeography
) : SqlBoolean
パラメーター
- other
型: Microsoft.SqlServer.Types.SqlGeography
STIntersects を呼び出したインスタンスと比較される SqlGeography インスタンスです。
戻り値
型: System.Data.SqlTypes.SqlBoolean
呼び出し元の SqlGeography インスタンスが別の SqlGeography インスタンスと交差するかどうかを示す SqlBoolean 値です。交差する場合は true を返します。それ以外の場合は false です。
説明
SqlGeography インスタンスの SRID (spatial reference ID) が一致しない場合、このメソッドは常に null を返します。