SqlGeometry.STNumPoints 方法 ()

 

返回 SqlGeometry 实例的每个图形中的点数的总和。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STNumPoints()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
SqlInt32 STNumPoints()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STNumPoints : unit -> SqlInt32
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Function STNumPoints As SqlInt32

返回值

Type: System.Data.SqlTypes.SqlInt32

一个 SqlInt32 值,该值包含调用实例中的每个图形中的点数的总和。

备注

此方法对 SqlGeometry 实例说明中的点进行计数。 重复的点将计算在内。 如果此实例为集合类型,此方法在每个元素中返回的点数之和。

另请参阅

SqlGeometry 类
Microsoft.SqlServer.Types 命名空间

返回页首