ArcGIS Runtime SDK for WPF - Library Reference
Difference Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class : Difference Method

geometries
A collection of points, multipoints, polylines or polygons. The input types can be mixed.
geometry
A single geometry of any type, of dimension equal to or greater than the elements of the goemetries collection.
Constructs the set-theoretic difference between an array of geometries and another geometry.

Syntax

Visual Basic (Declaration) 
Public Function Difference( _
   ByVal geometries As IList(Of Graphic), _
   ByVal geometry As Geometry _
) As IList(Of Graphic)
C# 
public IList<Graphic> Difference( 
   IList<Graphic> geometries,
   Geometry geometry
)

Parameters

geometries
A collection of points, multipoints, polylines or polygons. The input types can be mixed.
geometry
A single geometry of any type, of dimension equal to or greater than the elements of the goemetries collection.

Return Value

Returns a collection of graphics that do not intersect or touch with the "geometry" parameter.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.