Specifies whether the calling SqlGeography instance spatially contains the SqlGeography instance passed to the method.
命名空间: 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
The SqlGeography instance to check if it is contained within the calling instance.
返回值
类型:System.Data.SqlTypes.SqlBoolean
true if the calling instance contains the other instance; otherwise, false.
请参阅
参考
Microsoft.SqlServer.Types 命名空间