| Visual Basic (Declaration) | |
|---|---|
Public Overloads Sub RelationAsync( _ ByVal graphics1 As IList(Of Graphic), _ ByVal graphics2 As IList(Of Graphic), _ ByVal spatialRelationship As GeometryRelation, _ ByVal comparisonString As String, _ ByVal userToken As Object _ )  | |
| C# | |
|---|---|
public void RelationAsync( IList<Graphic> graphics1, IList<Graphic> graphics2, GeometryRelation spatialRelationship, string comparisonString, object userToken )  | |
Parameters
- graphics1
 - The first set of graphics in the comparison.
 - graphics2
 - The second set of graphics in the comparison.
 - spatialRelationship
 - The spatial relationship to be tested between the two sets of geometries. If GeometryRelation.esriGeometryRelationRelation is specified, then the comparisonString parameter must be specified.
 - comparisonString
 - The 'Shape Comparison Language' string to be evaluated. Strings such as RELATE(G1, G2, "FFFTTT***") are accepted, in addition to other kinds of strings. This string describes the spatial relationship to be tested when the spatialRelationship parameter is specified as esriGeometryRelationRelation.
 - userToken
 - A user-defined object that is passed to the method invoked.
 
Target Platforms:Windows Phone 7