Condividi tramite


Metodo DbSpatialServices.GetExteriorRing

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Restituisce un valore DbGeometry che rappresenta l'anello esterno del valore DbGeometry specificato, che potrebbe essere Null se il valore non rappresenta un poligono.

Spazio dei nomi:  System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Public MustOverride Function GetExteriorRing ( _
    geometryValue As DbGeometry _
) As DbGeometry
'Utilizzo
Dim instance As DbSpatialServices 
Dim geometryValue As DbGeometry 
Dim returnValue As DbGeometry 

returnValue = instance.GetExteriorRing(geometryValue)
public abstract DbGeometry GetExteriorRing(
    DbGeometry geometryValue
)
public:
virtual DbGeometry^ GetExteriorRing(
    DbGeometry^ geometryValue
) abstract
abstract GetExteriorRing : 
        geometryValue:DbGeometry -> DbGeometry
public abstract function GetExteriorRing(
    geometryValue : DbGeometry
) : DbGeometry

Parametri

Valore restituito

Tipo: System.Data.Entity.Spatial.DbGeometry
Valore DbGeometry che rappresenta l'anello esterno in geometryValue, se rappresenta un poligono. In caso contrario, Null.

Eccezioni

Eccezione Condizione
ArgumentNullException

geometryValue è null.

ArgumentException

geometryValue non è compatibile con l'implementazione spaziale dei servizi.

Vedere anche

Riferimento

DbSpatialServices Classe

Spazio dei nomi System.Data.Entity.Spatial