语言

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 表达式。

返回

一个 SqlGeography 对象,表示 n 指定的环。

特性

适用于