Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SPRelatedFieldCollection class
Collapse the table of content
Expand the table of content

SPRelatedFieldCollection class

Represents a collection of SPRelatedField objects with information about the relationship between a field in a list and a lookup field in another list.

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

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft