呼び出し元の SqlGeography インスタンスに、メソッドに渡される SqlGeography インスタンスが空間的に含まれるかどうかを示します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STContains ( _
other As SqlGeography _
) As SqlBoolean
'使用
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlBoolean
returnValue = instance.STContains(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STContains(
SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STContains(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STContains :
other:SqlGeography -> SqlBoolean
public function STContains(
other : SqlGeography
) : SqlBoolean
パラメーター
- other
型: Microsoft.SqlServer.Types.SqlGeography
呼び出し元インスタンスに含まれているかどうかを確認する SqlGeography インスタンスです。
戻り値
型: System.Data.SqlTypes.SqlBoolean
呼び出し元インスタンスに other インスタンスが含まれている場合は true、それ以外の場合は false です。
関連項目
参照
Microsoft.SqlServer.Types 名前空間