Partage via


DbSpatialServices.CreateGeometry(DbSpatialServices, Object) Méthode

Définition

Cette méthode est prévue pour être utilisée par les implémentations dérivées de GeometryFromProviderValue(Object) après qu'une validation appropriée de la valeur de fournisseur spécifiée, dans le but de s'assurer qu'elle convient à l'utilisation de l'implémentation dérivée.

protected:
 static System::Data::Spatial::DbGeometry ^ CreateGeometry(System::Data::Spatial::DbSpatialServices ^ spatialServices, System::Object ^ providerValue);
protected static System.Data.Spatial.DbGeometry CreateGeometry (System.Data.Spatial.DbSpatialServices spatialServices, object providerValue);
static member CreateGeometry : System.Data.Spatial.DbSpatialServices * obj -> System.Data.Spatial.DbGeometry
Protected Shared Function CreateGeometry (spatialServices As DbSpatialServices, providerValue As Object) As DbGeometry

Paramètres

spatialServices
DbSpatialServices

Instance de services spatiaux dont la valeur DbGeometry retournée dépend pour son implémentation de fonctionnalité spatiale.

providerValue
Object

Valeur du fournisseur.

Retours

Nouvelle instance DbGeometry qui contient la providerValue spécifiée et utilise les spatialServices spécifiés comme son implémentation spatiale.

Exceptions

spatialServices providerValue

S’applique à