SqlGeometry.STIsRing 方法 ()
确定调用 SqlGeometry 实例是否为一个环。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STIsRing()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlBoolean STIsRing()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STIsRing : unit -> SqlBoolean
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STIsRing As SqlBoolean
返回值
Type: System.Data.SqlTypes.SqlBoolean
如果true实例符合下列要求,则返回 geometry:
该实例为 LineString 实例。
该实例为闭合类型。
该实例为简单类型。
如果 LineString 实例不符合这些要求,则返回 false。
备注
有关 SqlGeometry 实例成为闭合且简单,同时 STIsClosed 和 STIsSimple 必须返回实例上调用时,则返回 true。 若要确定类型的实例 SqlGeometry, ,使用 STGeometryType。
另请参阅
SqlGeometry 类
Microsoft.SqlServer.Types 命名空间
返回页首