Метод 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 nullпустая ссылка (Nothing в Visual Basic) if the SqlGeometry instance is not a polygon.

См. также

Справочник

SqlGeometry Класс

Пространство имен Microsoft.SqlServer.Types