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


Метод SqlGeometry.STEndPoint

Returns the end point of a SqlGeometry instance.

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

Синтаксис

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

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

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

Тип: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the endpoint of the calling SqlGeometry.

Замечания

STEndPoint is the equivalent of STPointN (x.NumPoints()).

This method returns nullпустая ссылка (Nothing в Visual Basic) if called on an empty SqlGeometry instance.

См. также

Справочник

SqlGeometry Класс

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