DbGeometry.MultiPolygonFromText Method (String, 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 DbGeometry MultiPolygonFromText(
	string multiPolygonWellKnownText,
	int coordinateSystemId
)

Parameters

multiPolygonWellKnownText
Type: System.String

The multi polygon well-known text value.

coordinateSystemId
Type: System.Int32

The coordinate system identifier.

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

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