共用方式為


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 nullnull 參考 (在 Visual Basic 中為 Nothing) if called on an empty SqlGeometry instance.

請參閱

參考

SqlGeometry 類別

Microsoft.SqlServer.Types 命名空間