Bagikan melalui


SpatialEdmFunctions.GeometryCollectionFromText Metode

Definisi

DbFunctionExpression Membuat yang memanggil fungsi kanonis 'GeometryCollectionFromText' dengan argumen yang ditentukan. geometryCollectionWellKnownText harus memiliki tipe hasil string, sementara coordinateSystemId harus memiliki tipe hasil numerik bilangan bulat. Jenis hasil ekspresi adalah Edm.Geometry.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeometryCollectionFromText(System::Data::Common::CommandTrees::DbExpression ^ geometryCollectionWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryCollectionFromText (System.Data.Common.CommandTrees.DbExpression geometryCollectionWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeometryCollectionFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryCollectionFromText (geometryCollectionWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Parameter

geometryCollectionWellKnownText
DbExpression

Ekspresi yang menyediakan representasi teks terkenal dari nilai koleksi geometri.

coordinateSystemId
DbExpression

Ekspresi yang menyediakan id sistem koordinat (SRID) dari sistem koordinat nilai pengumpulan geometri.

Mengembalikan

DbFunctionExpression baru yang mengembalikan nilai kumpulan geometri baru berdasarkan nilai yang ditentukan.

Pengecualian

geometryCollectionWellKnownText coordinateSystemId

geometryCollectionWellKnownText coordinateSystemId

Berlaku untuk