语言

SqlGeography.STGeometryN(Int32) 方法

定义

返回 GeometryCollection 或其子类型之一中的指定地理元素。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public Microsoft.SqlServer.Types.SqlGeography STGeometryN(int n);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
member this.STGeometryN : int -> Microsoft.SqlServer.Types.SqlGeography
Public Function STGeometryN (n As Integer) As SqlGeography

参数

n
Int32

一个介于 1 和 GeometryCollection 中的实例数 SqlGeography 之间的 int 表达式。

返回

SqlGeography GeometryCollection 中指定实例中的元素。

属性

适用于