Sdílet prostřednictvím


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

Definice

Vrátí zadaný prstenec instance 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

Parametry

geographyValue
DbGeography

Zeměpisná hodnota.

index
Nullable<Int32>

Výraz int mezi 1 a počtem prstenců v instanci mnohoúhelníku.

Návraty

A SqlGeography objekt, který představuje okruh určený n.

Atributy

Platí pro