SPRelatedFieldCollection class
SharePoint 2013
Represents a collection of SPRelatedField objects with information about the relationship between a field in a list and a lookup field in another list.
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.SPRelatedFieldCollection
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.SPRelatedFieldCollection
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableTypeAttribute] [ClientCallableTypeAttribute(Name = "RelatedFieldCollection", CollectionChildItemType = typeof(SPRelatedField), CollectionIndexerMethodClientName = "GetByFieldId", ServerTypeId = "{4703193f-e3ed-445b-8612-7c6218e0eb5a}", SampleUrl = "{apiroot}/web/lists({listid})/GetRelatedFields()")] public class SPRelatedFieldCollection : SPBaseCollection
An SPRelatedFieldCollection object is returned by a call to the GetRelatedFields() method of an SPList object. The collection contains objects of type SPRelatedField. Each object in the collection contains information about the relationship between a field in the list and a lookup field in another list. For more information, see the GetRelatedFields() method and the SPRelatedField class.