DbGeography.MultiPointFromBinary - метод
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Возвращает значение multipoint из значения в известном двоичном формате.
Пространство имен: System.Data.Entity.Spatial
Сборка: EntityFramework (в EntityFramework.dll)
Синтаксис
'Декларация
<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")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi", _
Justification := "Match OGC, EDM")> _
Public Shared Function MultiPointFromBinary ( _
multiPointWellKnownBinary As Byte(), _
coordinateSystemId As Integer _
) As DbGeography
'Применение
Dim multiPointWellKnownBinary As Byte()
Dim coordinateSystemId As Integer
Dim returnValue As DbGeography
returnValue = DbGeography.MultiPointFromBinary(multiPointWellKnownBinary, _
coordinateSystemId)
[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")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")]
public static DbGeography MultiPointFromBinary(
byte[] multiPointWellKnownBinary,
int coordinateSystemId
)
[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")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"multi",
Justification = L"Match OGC, EDM")]
public:
static DbGeography^ MultiPointFromBinary(
array<unsigned char>^ multiPointWellKnownBinary,
int coordinateSystemId
)
[<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")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")>]
static member MultiPointFromBinary :
multiPointWellKnownBinary:byte[] *
coordinateSystemId:int -> DbGeography
public static function MultiPointFromBinary(
multiPointWellKnownBinary : byte[],
coordinateSystemId : int
) : DbGeography
Параметры
- multiPointWellKnownBinary
Тип: System.Byte[]
Известное двоичное значение.
- coordinateSystemId
Тип: System.Int32
Идентификатор системы координат.
Возвращаемое значение
Тип: System.Data.Entity.Spatial.DbGeography
Значение multipoint из значения в известном двоичном формате.