SPRelatedFieldCollection class
表示清單中的欄位與另一個清單中的查閱欄位之間的關係的相關資訊的SPRelatedField物件的集合。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.SPRelatedFieldCollection
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Class SPRelatedFieldCollection _
Inherits SPBaseCollection
'用途
Dim instance As SPRelatedFieldCollection
public class SPRelatedFieldCollection : SPBaseCollection
備註
SPList物件的GetRelatedFields()方法的呼叫會傳回SPRelatedFieldCollection物件。集合包含物件的型別SPRelatedField。每個物件在集合中的包含資訊清單中的欄位與另一個清單中的查閱欄位之間的關係。如需詳細資訊,請參閱GetRelatedFields()方法和SPRelatedField類別。
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
請參閱
參照
SPRelatedFieldCollection members