Freigeben über


DbGeography.MultiLineFromBinary-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 MultiLine-Wert von einem 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", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "MultiLine",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "multiLine",  _
    Justification := "Match OGC, EDM")> _
Public Shared Function MultiLineFromBinary ( _
    multiLineWellKnownBinary As Byte(), _
    coordinateSystemId As Integer _
) As DbGeography
'Usage
Dim multiLineWellKnownBinary As Byte()
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeography 

returnValue = DbGeography.MultiLineFromBinary(multiLineWellKnownBinary, _
    coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine", 
    Justification = "Match OGC, EDM")]
public static DbGeography MultiLineFromBinary(
    byte[] multiLineWellKnownBinary,
    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"MultiLine", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Multi", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"multiLine", 
    Justification = L"Match OGC, EDM")]
public:
static DbGeography^ MultiLineFromBinary(
    array<unsigned char>^ multiLineWellKnownBinary, 
    int coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine", 
    Justification = "Match OGC, EDM")>]
static member MultiLineFromBinary : 
        multiLineWellKnownBinary:byte[] * 
        coordinateSystemId:int -> DbGeography
public static function MultiLineFromBinary(
    multiLineWellKnownBinary : byte[], 
    coordinateSystemId : int
) : DbGeography

Parameter

  • multiLineWellKnownBinary
    Typ: System.Byte[]
    Der bekannte Binärwert.
  • coordinateSystemId
    Typ: System.Int32
    Die Koordinatensystem-ID.

Rückgabewert

Typ: System.Data.Entity.Spatial.DbGeography
Der MultiLine-Wert von einem Binärwert.

Siehe auch

Verweis

DbGeography Klasse

System.Data.Entity.Spatial-Namespace