次の方法で共有


SqlGeometry.STInteriorRingN メソッド

Polygon の SqlGeometry インスタンスの指定した内部リングを返します。

名前空間:  Microsoft.SqlServer.Types
アセンブリ:  Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)

構文

'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STInteriorRingN ( _
    n As Integer _
) As SqlGeometry
'使用
Dim instance As SqlGeometry 
Dim n As Integer 
Dim returnValue As SqlGeometry 

returnValue = instance.STInteriorRingN(n)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeometry STInteriorRingN(
    int n
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlGeometry^ STInteriorRingN(
    int n
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STInteriorRingN : 
        n:int -> SqlGeometry
public function STInteriorRingN(
    n : int
) : SqlGeometry

パラメーター

戻り値

型: Microsoft.SqlServer.Types.SqlGeometry
Polygon の内部リングを表す SqlGeometry オブジェクトです。

説明

SqlGeometry インスタンスが多角形ではない場合、このメソッドは NULL を返します。 また、式がリングの数より大きい場合、このメソッドは ArgumentOutOfRangeException をスローします。 リングの数は STNumInteriorRing を使用して返すことができます。

関連項目

参照

SqlGeometry クラス

Microsoft.SqlServer.Types 名前空間