呼び出し元の SqlGeometry インスタンスがリングかどうかを示します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STIsRing As SqlBoolean
'使用
Dim instance As SqlGeometry
Dim returnValue As SqlBoolean
returnValue = instance.STIsRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STIsRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STIsRing()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STIsRing : unit -> SqlBoolean
public function STIsRing() : SqlBoolean
戻り値
型: System.Data.SqlTypes.SqlBoolean
geometry インスタンスが次の要件を満たしている場合は true を返します。
LineString インスタンスである。
閉じている。
単純である。
LineString インスタンスがこれらの要件を満たしていない場合は false を返します。
説明
閉じていて、単純な SqlGeometry インスタンスの場合、STIsClosed および STIsSimple がインスタンスで呼び出されたときは、必ず true を返します。 SqlGeometry インスタンスの型を判断するには STGeometryType を使用します。