DbGeography.MultiPolygonFromText-Methode
[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]
Gibt den MultiPolygon-Wert von einem bekannten Textwert zurück.
Namespace: System.Data.Entity.Spatial
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi", _
Justification := "Match OGC, EDM")> _
Public Shared Function MultiPolygonFromText ( _
multiPolygonWellKnownText As String, _
coordinateSystemId As Integer _
) As DbGeography
'Usage
Dim multiPolygonWellKnownText As String
Dim coordinateSystemId As Integer
Dim returnValue As DbGeography
returnValue = DbGeography.MultiPolygonFromText(multiPolygonWellKnownText, _
coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")]
public static DbGeography MultiPolygonFromText(
string multiPolygonWellKnownText,
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:
static DbGeography^ MultiPolygonFromText(
String^ multiPolygonWellKnownText,
int coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")>]
static member MultiPolygonFromText :
multiPolygonWellKnownText:string *
coordinateSystemId:int -> DbGeography
public static function MultiPolygonFromText(
multiPolygonWellKnownText : String,
coordinateSystemId : int
) : DbGeography
Parameter
- multiPolygonWellKnownText
Typ: System.String
Der MultiPolygon-WKT-Wert (well-known text).
- coordinateSystemId
Typ: System.Int32
Die Koordinatensystem-ID.
Rückgabewert
Typ: System.Data.Entity.Spatial.DbGeography
Der MultiPolygon-Wert von einem bekannten Textwert.