ArcGIS API for Silverlight - Library Reference
GetRelatedItemsAsync Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Portal Namespace > ArcGISPortalItem Class : GetRelatedItemsAsync Method

relationshipType
Type of the relationship.
relationshipDirection
The relationship direction (or null if you don't want to specify a direction so the service will try to infer it)
callback
The callback executed when the result is available.
Gets all the related items of a certain relationship type for that item. An optional direction can be specified if the direction of the relationship is ambiguous. Otherwise the service will try to infer it.

Syntax

Visual Basic (Declaration) 
Public Sub GetRelatedItemsAsync( _
   ByVal relationshipType As RelationshipType, _
   ByVal relationshipDirection As Nullable(Of RelationshipDirection), _
   ByVal callback As Action(Of IEnumerable(Of ArcGISPortalItem),Exception) _
) 

Parameters

relationshipType
Type of the relationship.
relationshipDirection
The relationship direction (or null if you don't want to specify a direction so the service will try to infer it)
callback
The callback executed when the result is available.

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.