STPointOnSurface 方法

Returns an arbitrary point located within the interior of a SqlGeometry instance.

命名空间:  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
A SqlGeometry object that represents a point within the calling SqlGeometry.

注释

This method returns null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) if the instance is empty.