Поделиться через


Метод SqlGeometry.STIsClosed

Determines whether the start and end points of the calling SqlGeometry are the same.

Пространство имен:  Microsoft.SqlServer.Types
Сборка:  Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)

Синтаксис

'Декларация
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STIsClosed As SqlBoolean
'Применение
Dim instance As SqlGeometry 
Dim returnValue As SqlBoolean 

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

Возвращаемое значение

Тип: System.Data.SqlTypes.SqlBoolean
Returns true if the start and end points of the given SqlGeometry instance are the same. Returns false if the instance is not closed, if any figures of the instance are points, or if the instance is empty.Returns true for geometry collection types if each contained SqlGeometry instance is closed. Otherwise, false.

Замечания

All Polygon instances are considered closed.

См. также

Справочник

SqlGeometry Класс

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