Condividi tramite


Metodo DbGeography.MultiPointFromText

[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 il valore multipunto da un valore WKT.

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", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "MultiPoint",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "multiPoint",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi",  _
    Justification := "Match OGC, EDM")> _
Public Shared Function MultiPointFromText ( _
    multiPointWellKnownText As String, _
    coordinateSystemId As Integer _
) As DbGeography
'Utilizzo
Dim multiPointWellKnownText As String 
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeography 

returnValue = DbGeography.MultiPointFromText(multiPointWellKnownText, _
    coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiPoint", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiPoint", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")]
public static DbGeography MultiPointFromText(
    string multiPointWellKnownText,
    int coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Multi", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"MultiPoint", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"multiPoint", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"multi", 
    Justification = L"Match OGC, EDM")]
public:
static DbGeography^ MultiPointFromText(
    String^ multiPointWellKnownText, 
    int coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiPoint", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiPoint", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")>]
static member MultiPointFromText : 
        multiPointWellKnownText:string * 
        coordinateSystemId:int -> DbGeography
public static function MultiPointFromText(
    multiPointWellKnownText : String, 
    coordinateSystemId : int
) : DbGeography

Parametri

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

Valore restituito

Tipo: System.Data.Entity.Spatial.DbGeography
Valore multipunto da un valore WKT.

Vedere anche

Riferimento

DbGeography Classe

Spazio dei nomi System.Data.Entity.Spatial