DbGeometry.MultiPolygonFromText (Método)
[Esta página es específica de la versión 6 de Entity Framework. La versión más reciente está disponible como el paquete NuGet de Entity Framework. Para más información sobre Entity Framework, consulte msdn.com/es-ES/data/ef].
Devuelve el valor multipoligonal de un valor binario conocido.
Espacio de nombres: System.Data.Entity.Spatial
Ensamblado: EntityFramework (en EntityFramework.dll)
Sintaxis
'Declaración
<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 MultiPolygonFromText ( _
multiPolygonWellKnownText As String, _
coordinateSystemId As Integer _
) As DbGeometry
'Uso
Dim multiPolygonWellKnownText As String
Dim coordinateSystemId As Integer
Dim returnValue As DbGeometry
returnValue = DbGeometry.MultiPolygonFromText(multiPolygonWellKnownText, _
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 MultiPolygonFromText(
string multiPolygonWellKnownText,
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^ MultiPolygonFromText(
String^ multiPolygonWellKnownText,
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 MultiPolygonFromText :
multiPolygonWellKnownText:string *
coordinateSystemId:int -> DbGeometry
public static function MultiPolygonFromText(
multiPolygonWellKnownText : String,
coordinateSystemId : int
) : DbGeometry
Parámetros
- multiPolygonWellKnownText
Tipo: System.String
El valor multipoligonal de un valor textual conocido.
- coordinateSystemId
Tipo: System.Int32
Identificador del sistema de coordenadas.
Valor devuelto
Tipo: System.Data.Entity.Spatial.DbGeometry
El valor multipoligonal de un valor binario conocido.