Edit

Share via


DbSpatialServices.CreateProviderValue Method

Definition

Creates a provider-specific value compatible with this spatial services implementation.

Overloads

CreateProviderValue(DbGeometryWellKnownValue)

Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeometry representation.

CreateProviderValue(DbGeographyWellKnownValue)

Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeography representation.

CreateProviderValue(DbGeometryWellKnownValue)

Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeometry representation.

public:
 abstract System::Object ^ CreateProviderValue(System::Data::Spatial::DbGeometryWellKnownValue ^ wellKnownValue);
public abstract object CreateProviderValue (System.Data.Spatial.DbGeometryWellKnownValue wellKnownValue);
abstract member CreateProviderValue : System.Data.Spatial.DbGeometryWellKnownValue -> obj
Public MustOverride Function CreateProviderValue (wellKnownValue As DbGeometryWellKnownValue) As Object

Parameters

wellKnownValue
DbGeometryWellKnownValue

An instance of DbGeometryWellKnownValue that contains the well-known representation of a geometry value.

Returns

A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation.

Exceptions

wellKnownValue

Applies to

CreateProviderValue(DbGeographyWellKnownValue)

Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeography representation.

public:
 abstract System::Object ^ CreateProviderValue(System::Data::Spatial::DbGeographyWellKnownValue ^ wellKnownValue);
public abstract object CreateProviderValue (System.Data.Spatial.DbGeographyWellKnownValue wellKnownValue);
abstract member CreateProviderValue : System.Data.Spatial.DbGeographyWellKnownValue -> obj
Public MustOverride Function CreateProviderValue (wellKnownValue As DbGeographyWellKnownValue) As Object

Parameters

wellKnownValue
DbGeographyWellKnownValue

An instance of DbGeographyWellKnownValue that contains the well-known representation of a geography value.

Returns

A provider-specific value that encodes the information contained in wellKnownValue in a fashion compatible with this spatial services implementation.

Exceptions

wellKnownValue

Applies to