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

Definition

Returns the specified ring of the SqlGeography instance: 1 ≤ n ≤ NumRings().

public:
 static System::Data::Spatial::DbGeography ^ RingN(System::Data::Spatial::DbGeography ^ geographyValue, Nullable<int> index);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "RINGN")]
public static System.Data.Spatial.DbGeography RingN (System.Data.Spatial.DbGeography geographyValue, int? index);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "RINGN")>]
static member RingN : System.Data.Spatial.DbGeography * Nullable<int> -> System.Data.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