SqlGeometry.STCurveN Method
Returns the curve specified from a SqlGeometry instance that is a LineString, CircularString, or CompoundCurve.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STCurveN ( _
n As Integer _
) As SqlGeometry
'Usage
Dim instance As SqlGeometry
Dim n As Integer
Dim returnValue As SqlGeometry
returnValue = instance.STCurveN(n)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeometry STCurveN(
int n
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlGeometry^ STCurveN(
int n
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STCurveN :
n:int -> SqlGeometry
public function STCurveN(
n : int
) : SqlGeometry
Parameters
- n
Type: System.Int32
An integer between 1 and the number of curves in the SqlGeometry instance.
Return Value
Type: Microsoft.SqlServer.Types.SqlGeometry
The specified curve.