다음을 통해 공유


SqlGeometry.STNumInteriorRing 메서드

Returns the number of interior rings of a Polygon SqlGeometry instance.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STNumInteriorRing As SqlInt32
‘사용 방법
Dim instance As SqlGeometry 
Dim returnValue As SqlInt32 

returnValue = instance.STNumInteriorRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STNumInteriorRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlInt32 STNumInteriorRing()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STNumInteriorRing : unit -> SqlInt32
public function STNumInteriorRing() : SqlInt32

반환 값

유형: System.Data.SqlTypes.SqlInt32
A SqlInt32 value that specifies the number of interior rings.

주의

This method returns nullnull 참조(Visual Basic에서는 Nothing) if the SqlGeometry instance is not a polygon.

참고 항목

참조

SqlGeometry 클래스

Microsoft.SqlServer.Types 네임스페이스