Union Method
The geometric union.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Union ( _
operand1 As Geometry, _
operand2 As Geometry _
) As Geometry
'Usage
Dim operand1 As Geometry
Dim operand2 As Geometry
Dim returnValue As Geometry
returnValue = operand1.Union(operand2)
public static Geometry Union(
this Geometry operand1,
Geometry operand2
)
[ExtensionAttribute]
public:
static Geometry^ Union(
Geometry^ operand1,
Geometry^ operand2
)
static member Union :
operand1:Geometry *
operand2:Geometry -> Geometry
public static function Union(
operand1 : Geometry,
operand2 : Geometry
) : Geometry
Parameters
- operand1
Type: System.Spatial..::..Geometry
The operand 1.
- operand2
Type: System.Spatial..::..Geometry
The operand 2.
Return Value
Type: System.Spatial..::..Geometry
The operation result.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Geometry. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).