Difference Method (Geometry, Geometry)

The geometric difference.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
Public Overridable Function Difference ( _
    operand1 As Geometry, _
    operand2 As Geometry _
) As Geometry
'Usage
Dim instance As SpatialOperations
Dim operand1 As Geometry
Dim operand2 As Geometry
Dim returnValue As Geometry

returnValue = instance.Difference(operand1, _
    operand2)
public virtual Geometry Difference(
    Geometry operand1,
    Geometry operand2
)
public:
virtual Geometry^ Difference(
    Geometry^ operand1, 
    Geometry^ operand2
)
abstract Difference : 
        operand1:Geometry * 
        operand2:Geometry -> Geometry 
override Difference : 
        operand1:Geometry * 
        operand2:Geometry -> Geometry 
public function Difference(
    operand1 : Geometry, 
    operand2 : Geometry
) : Geometry

Parameters

Return Value

Type: System.Spatial..::..Geometry
The operation result.

See Also

Reference

SpatialOperations Class

Difference Overload

System.Spatial Namespace