Freigeben über


SqlSpatialFunctions.RingN(DbGeography, Nullable<Int32>) Methode

Definition

Gibt den angegebenen Ring der SqlGeography-Instanz zurück: 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

Parameter

geographyValue
DbGeography

Der Geographiewert.

index
Nullable<Int32>

Ein int-Ausdruck zwischen 1 und der Anzahl der Ringe in einer Polygonobjektinstanz.

Gibt zurück

Ein SqlGeography-Objekt, das den Ring darstellt, der durch n angegeben wird.

Attribute

Gilt für: