SqlGeography.STCurveN 方法
Returns the curve specified from a SqlGeography instance that is a LineString, CircularString, or CompoundCurve.
命名空間: Microsoft.SqlServer.Types
組件: Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)
語法
'宣告
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STCurveN ( _
n As Integer _
) As SqlGeography
'用途
Dim instance As SqlGeography
Dim n As Integer
Dim returnValue As SqlGeography
returnValue = instance.STCurveN(n)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeography STCurveN(
int n
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlGeography^ STCurveN(
int n
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STCurveN :
n:int -> SqlGeography
public function STCurveN(
n : int
) : SqlGeography
參數
- n
型別:System.Int32
An integer between 1 and the number of curves in the SqlGeography instance.
傳回值
型別:Microsoft.SqlServer.Types.SqlGeography
The specified curve.
請參閱
參考
Microsoft.SqlServer.Types 命名空間