SqlGeometry.STWithin(SqlGeometry) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定当前 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。
- 属性