DbGeography.MultiPolygonFromBinary Method (Byte[], Int32)

 

Returns the multi polygon value from a well-known binary value.

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in 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 static DbGeography MultiPolygonFromBinary(
	byte[] multiPolygonWellKnownBinary,
	int coordinateSystemId
)

Parameters

multiPolygonWellKnownBinary
Type: System.Byte[]

The multi polygon well-known binary value.

coordinateSystemId
Type: System.Int32

The coordinate system identifier.

Return Value

Type: System.Data.Entity.Spatial.DbGeography

The multi polygon value from a well-known binary value.