ArcGIS API for Silverlight - Library Reference
RelationAsync Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class : RelationAsync Method

Computes the set of pairs of geometries from graphics1 and graphics2 that belong to the specified relation. Both arrays are assumed to be in the same spatial reference. The relations are evaluated in 2D. Z coordinates are not used. Geometry types cannot be mixed within an array. Note that if the spatialRelationship is specified as esriGeometryRelationRelation, the relationParam parameter describes the spatial relationship and must be specified. Raises the RelationCompleted event on success, or the TaskBase.Failed event on failure.

Overload List

OverloadDescription
RelationAsync(IList<Graphic>,IList<Graphic>,GeometryRelation,String)Computes the set of pairs of geometries from graphics1 and graphics2 that belong to the specified relation. Both arrays are assumed to be in the same spatial reference. The relations are evaluated in 2D. Z coordinates are not used. Geometry types cannot be mixed within an array. Note that if the spatialRelationship is specified as esriGeometryRelationRelation, the relationParam parameter describes the spatial relationship and must be specified. Raises the RelationCompleted event on success, or the TaskBase.Failed event on failure.  
RelationAsync(IList<Graphic>,IList<Graphic>,GeometryRelation,String,Object)Computes the set of pairs of geometries from graphics1 and graphics2 that belong to the specified relation. Both arrays are assumed to be in the same spatial reference. The relations are evaluated in 2D. Z coordinates are not used. Geometry types cannot be mixed within an array. Note that if the spatialRelationship is specified as esriGeometryRelationRelation, the relationParam parameter describes the spatial relationship and must be specified. Raises the RelationCompleted event on success, or the TaskBase.Failed event on failure.  

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.