Muokkaa

Jaa


DbSpatialServices.Union Method

Definition

Computes the union of two values.

Overloads

Union(DbGeography, DbGeography)

Computes the union of two DbGeography values.

Union(DbGeometry, DbGeometry)

Computes the union of two DbGeometry values.

Union(DbGeography, DbGeography)

Computes the union of two DbGeography values.

public:
 abstract System::Data::Spatial::DbGeography ^ Union(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ otherGeography);
public abstract System.Data.Spatial.DbGeography Union (System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography otherGeography);
abstract member Union : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> System.Data.Spatial.DbGeography
Public MustOverride Function Union (geographyValue As DbGeography, otherGeography As DbGeography) As DbGeography

Parameters

geographyValue
DbGeography

The first geography value.

otherGeography
DbGeography

The second geography value.

Returns

A new DbGeography value representing the union of geographyValue and otherGeography.

Exceptions

geographyValue otherGeography

geographyValue otherGeography

Applies to

Union(DbGeometry, DbGeometry)

Computes the union of two DbGeometry values.

public:
 abstract System::Data::Spatial::DbGeometry ^ Union(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract System.Data.Spatial.DbGeometry Union (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Union : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> System.Data.Spatial.DbGeometry
Public MustOverride Function Union (geometryValue As DbGeometry, otherGeometry As DbGeometry) As DbGeometry

Parameters

geometryValue
DbGeometry

The first geometry value.

otherGeometry
DbGeometry

The second geometry value.

Returns

A new DbGeometry value representing the union of geometryValue and otherGeometry.

Exceptions

geometryValue otherGeometry

geometryValue otherGeometry

Applies to