次の方法で共有


SqlGeometry.STPointOnSurface メソッド

SqlGeometry インスタンスの内部にある任意の地点を返します。

名前空間:  Microsoft.SqlServer.Types
アセンブリ:  Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)

構文

'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STPointOnSurface As SqlGeometry
'使用
Dim instance As SqlGeometry 
Dim returnValue As SqlGeometry 

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

戻り値

型: Microsoft.SqlServer.Types.SqlGeometry
呼び出し元の SqlGeometry 内の地点を表す SqlGeometry オブジェクトです。

説明

インスタンスが空の場合、このメソッドは nullNULL 参照 (Visual Basic では Nothing) を返します。

関連項目

参照

SqlGeometry クラス

Microsoft.SqlServer.Types 名前空間