语言

SqlGeometry.STWithin(SqlGeometry) 方法

定义

确定当前 SqlGeometry 是否完全在指定的 SqlGeometry 实例内。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STWithin(Microsoft.SqlServer.Types.SqlGeometry other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STWithin : Microsoft.SqlServer.Types.SqlGeometry -> System.Data.SqlTypes.SqlBoolean
Public Function STWithin (other As SqlGeometry) As SqlBoolean

参数

other
SqlGeometry

SqlGeometry要与当前SqlGeometry实例进行比较的实例。

返回

如果实例完全位于另一SqlGeometry个SqlGeometry实例中,则返回 true;否则返回 false。

属性

适用于