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

Definition

Returns the specified ring of the SqlGeography instance: 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

Parameters

geographyValue
DbGeography

The geography value.

index
Nullable<Int32>

An int expression between 1 and the number of rings in a polygon instance.

Returns

A SqlGeography object that represents the ring specified by n.

Attributes

Applies to