DbGeometry.MultiPolygonFromBinary - метод
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Возвращает значение multi polygon из значения в известном двоичном формате.
Пространство имен: System.Data.Entity.Spatial
Сборка: EntityFramework (в EntityFramework.dll)
Синтаксис
'Декларация
<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
'Применение
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
Параметры
- multiPolygonWellKnownBinary
Тип: System.Byte[]
Значение multi polygon в известном формате.
- coordinateSystemId
Тип: System.Int32
Идентификатор системы координат.
Возвращаемое значение
Тип: System.Data.Entity.Spatial.DbGeometry
Значение multipoint из значения в известном формате.