Freigeben über


DbGeometry.MultiPolygonFromBinary-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 Binärwert 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 MultiPolygonFromBinary ( _
    multiPolygonWellKnownBinary As Byte(), _
    coordinateSystemId As Integer _
) As DbGeometry
'Usage
Dim multiPolygonWellKnownBinary As Byte()
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeometry 

returnValue = DbGeometry.MultiPolygonFromBinary(multiPolygonWellKnownBinary, _
    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 DbGeometry MultiPolygonFromBinary(
    byte[] multiPolygonWellKnownBinary,
    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 DbGeometry^ MultiPolygonFromBinary(
    array<unsigned char>^ multiPolygonWellKnownBinary, 
    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 MultiPolygonFromBinary : 
        multiPolygonWellKnownBinary:byte[] * 
        coordinateSystemId:int -> DbGeometry
public static function MultiPolygonFromBinary(
    multiPolygonWellKnownBinary : byte[], 
    coordinateSystemId : int
) : DbGeometry

Parameter

  • multiPolygonWellKnownBinary
    Typ: System.Byte[]
    Der MultiPolygon-WKT-Wert (well-known text).
  • coordinateSystemId
    Typ: System.Int32
    Die Koordinatensystem-ID.

Rückgabewert

Typ: System.Data.Entity.Spatial.DbGeometry
Der MultiPoint-Wert von einem bekannten Textwert.

Siehe auch

Verweis

DbGeometry Klasse

System.Data.Entity.Spatial-Namespace