共用方式為


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

定義

傳回 SqlGeography 執行個體:1 ≤ n ≤ NumRings() 的指定環。

[System.Data.Entity.DbFunction("SqlServer", "RINGN")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="index")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geographyValue")]
public static System.Data.Entity.Spatial.DbGeography RingN(System.Data.Entity.Spatial.DbGeography geographyValue, Nullable<int> index);
static member RingN : System.Data.Entity.Spatial.DbGeography * Nullable<int> -> System.Data.Entity.Spatial.DbGeography
Public Shared Function RingN (geographyValue As DbGeography, index As Nullable(Of Integer)) As DbGeography

參數

geographyValue
DbGeography

地理值。

index
Nullable<Int32>

介於 1 到多邊形執行個體中的環形數目之間的 int 運算式。

傳回

表示 n 所指定之環形的 SqlGeography 物件。

屬性

適用於