DbSpatialServices.CreateGeometry(DbSpatialServices, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is intended for use by derived implementations of GeometryFromProviderValue(Object) after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation.
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
Parameters
- spatialServices
- DbSpatialServices
The spatial services instance that the returned DbGeometry value will depend on for its implementation of spatial functionality.
- providerValue
- Object
A provider value.
Returns
A new DbGeometry instance that contains the specified providerValue
and uses the specified spatialServices
as its spatial implementation.
Exceptions
spatialServices
providerValue
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om