Share via


SpatialEdmFunctions.IsClosedSpatial(DbExpression) Methode

Definition

Erstellt einen DbFunctionExpression, der die kanonische IsClosedSpatial-Funktion mit dem angegebenen Argument aufruft, das den Ergebnistyp Edm.Geography oder Edm.Geometry aufweisen muss. Der Ergebnistyp ist Edm.Boolean.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ IsClosedSpatial(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression IsClosedSpatial (this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member IsClosedSpatial : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function IsClosedSpatial (spatialValue As DbExpression) As DbFunctionExpression

Parameter

spatialValue
DbExpression

Ein Ausdruck, der den räumlichen Kurvenwert angibt, aus dem der IsClosedSpatial-Wert abgerufen werden soll.

Gibt zurück

Ein neues DbFunctionExpression, das entweder einen booleschen Wert zurückgibt, der angibt, ob spatialValue geschlossen wird oder null, ob spatialValue keine Kurve ist.

Ausnahmen

spatialValue

spatialValue

Gilt für: