Condividi tramite


Metodo DbSpatialServices.GeometryMultiPolygonFromText

[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.]

Crea un nuovo valore multipoligono DbGeometry in base al valore WKT e all'identificatore del sistema di coordinate specificati.

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

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi",  _
    Justification := "Match OGC, EDM")> _
Public MustOverride Function GeometryMultiPolygonFromText ( _
    multiPolygonKnownText As String, _
    coordinateSystemId As Integer _
) As DbGeometry
'Utilizzo
Dim instance As DbSpatialServices 
Dim multiPolygonKnownText As String 
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeometry 

returnValue = instance.GeometryMultiPolygonFromText(multiPolygonKnownText, _
    coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")]
public abstract DbGeometry GeometryMultiPolygonFromText(
    string multiPolygonKnownText,
    int coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Multi", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"multi", 
    Justification = L"Match OGC, EDM")]
public:
virtual DbGeometry^ GeometryMultiPolygonFromText(
    String^ multiPolygonKnownText, 
    int coordinateSystemId
) abstract
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")>]
abstract GeometryMultiPolygonFromText : 
        multiPolygonKnownText:string * 
        coordinateSystemId:int -> DbGeometry
public abstract function GeometryMultiPolygonFromText(
    multiPolygonKnownText : String, 
    coordinateSystemId : int
) : DbGeometry

Parametri

  • coordinateSystemId
    Tipo: System.Int32
    Identificatore del sistema di coordinate.

Valore restituito

Tipo: System.Data.Entity.Spatial.DbGeometry
Nuovo valore multipoligono DbGeometry.

Vedere anche

Riferimento

DbSpatialServices Classe

Spazio dei nomi System.Data.Entity.Spatial