次の方法で共有


STEndPoint メソッド

SqlGeometry インスタンスの終点を返します。

名前空間:  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
呼び出し元の SqlGeometry のエンドポイントを表す SqlGeometry オブジェクトです。

説明

STEndPoint は STPointN (x.NumPoints()) と同じです。

このメソッドは、空の SqlGeometry インスタンスに対して呼び出された場合は null Nothing nullptr unit NULL 参照 (Visual Basic では Nothing) を返します。