ArcGIS Runtime SDK for WPF - Library Reference
GetRelatedItemsTaskAsync Method
See Also 
ESRI.ArcGIS.Client.Portal Namespace > ArcGISPortalItem Class : GetRelatedItemsTaskAsync 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)
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 Function GetRelatedItemsTaskAsync( _
   ByVal relationshipType As RelationshipType, _
   ByVal relationshipDirection As Nullable(Of RelationshipDirection) _
) As Task(Of IEnumerable(Of ArcGISPortalItem))

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)

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.