Share via


SqlGeometry.STGeometryN(Int32) Method

Definition

Returns the specified SqlGeometry in a SqlGeometry collection.

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

Parameters

n
Int32

An int expression between 1 and the number of SqlGeometry instances in the SqlGeometry collection that specifies the instance to return.

Returns

The SqlGeometry specified by n.

Attributes

Applies to