SqlSpatialFunctions.RingN(DbGeography, Nullable<Int32>) 方法

定義

回傳 SqlGeography 實例指定的環:1 ≤ n ≤ NumRings()。

public:
 static System::Data::Spatial::DbGeography ^ RingN(System::Data::Spatial::DbGeography ^ geographyValue, Nullable<int> index);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "RINGN")]
public static System.Data.Spatial.DbGeography RingN(System.Data.Spatial.DbGeography geographyValue, int? index);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "RINGN")>]
static member RingN : System.Data.Spatial.DbGeography * Nullable<int> -> System.Data.Spatial.DbGeography
Public Shared Function RingN (geographyValue As DbGeography, index As Nullable(Of Integer)) As DbGeography

參數

geographyValue
DbGeography

地理價值。

index
Nullable<Int32>

一個介於1與多邊形實例中環數之間的整數表達式。

傳回

一個代表由 n 指定的環的 SqlGeography 物件。

屬性

適用於