Share via


RelatedItemManager.GetRelatedItems method

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function GetRelatedItems ( _
    context As ClientRuntimeContext, _
    SourceListName As String, _
    SourceItemID As Integer _
) As ClientResult(Of RelatedItem())
'Usage
Dim context As ClientRuntimeContext
Dim SourceListName As String
Dim SourceItemID As Integer
Dim returnValue As ClientResult(Of RelatedItem())

returnValue = RelatedItemManager.GetRelatedItems(context, _
    SourceListName, SourceItemID)
public static ClientResult<RelatedItem[]> GetRelatedItems(
    ClientRuntimeContext context,
    string SourceListName,
    int SourceItemID
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<[]>

See also

Reference

RelatedItemManager class

RelatedItemManager members

Microsoft.SharePoint.Client namespace