Condividi tramite


Metodo SqlSpatialServices.GeographyMultiLineFromText

[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 multilinea DbGeography basato sul valore WKT e sull'identificatore del sistema di coordinate specificati.

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

Sintassi

'Dichiarazione
Public Overrides Function GeographyMultiLineFromText ( _
    multiLineWellKnownText As String, _
    coordinateSystemId As Integer _
) As DbGeography
'Utilizzo
Dim instance As SqlSpatialServices 
Dim multiLineWellKnownText As String 
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeography 

returnValue = instance.GeographyMultiLineFromText(multiLineWellKnownText, _
    coordinateSystemId)
public override DbGeography GeographyMultiLineFromText(
    string multiLineWellKnownText,
    int coordinateSystemId
)
public:
virtual DbGeography^ GeographyMultiLineFromText(
    String^ multiLineWellKnownText, 
    int coordinateSystemId
) override
abstract GeographyMultiLineFromText : 
        multiLineWellKnownText:string * 
        coordinateSystemId:int -> DbGeography  
override GeographyMultiLineFromText : 
        multiLineWellKnownText:string * 
        coordinateSystemId:int -> DbGeography
public override function GeographyMultiLineFromText(
    multiLineWellKnownText : String, 
    coordinateSystemId : int
) : DbGeography

Parametri

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

Valore restituito

Tipo: System.Data.Entity.Spatial.DbGeography
Nuovo valore multilinea DbGeography.

Vedere anche

Riferimento

SqlSpatialServices Classe

Spazio dei nomi System.Data.Entity.SqlServer