Partage via


DbSpatialServices.CreateGeography(DbSpatialServices, Object) Méthode

Définition

Cette méthode est prévue pour être utilisée par les implémentations dérivées de GeographyFromProviderValue(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::DbGeography ^ CreateGeography(System::Data::Spatial::DbSpatialServices ^ spatialServices, System::Object ^ providerValue);
protected static System.Data.Spatial.DbGeography CreateGeography (System.Data.Spatial.DbSpatialServices spatialServices, object providerValue);
static member CreateGeography : System.Data.Spatial.DbSpatialServices * obj -> System.Data.Spatial.DbGeography
Protected Shared Function CreateGeography (spatialServices As DbSpatialServices, providerValue As Object) As DbGeography

Paramètres

spatialServices
DbSpatialServices

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

providerValue
Object

Valeur du fournisseur.

Retours

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

Exceptions

spatialServices providerValue

S’applique à