SqlGeometry.STGeomCollFromText(SqlChars, Int32) Método

Definição

Retorna uma SqlGeometry instância de uma representação WKT (Open Geospatial Consortium) Texto Bem Conhecido (WKT) aumentada com quaisquer valores Z (elevação) e M (medida) transportados pela instância.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeometry STGeomCollFromText(System.Data.SqlTypes.SqlChars geometryCollectionTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STGeomCollFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeometry
Public Shared Function STGeomCollFromText (geometryCollectionTaggedText As SqlChars, srid As Integer) As SqlGeometry

Parâmetros

geometryCollectionTaggedText
SqlChars

A representação WKT da SqlGeometry instância que você deseja retornar.

srid
Int32

Uma expressão inteiro que representa a SRID (ID de referência espacial) da SqlGeometry instância que você deseja retornar.

Retornos

Um SqlGeometry valor construído a partir da representação WKT especificada.

Atributos

Aplica-se a