Share via


SPFormCollection class

表示SPForm物件的集合。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPBaseCollection
      Microsoft.SharePoint.SPFormCollection

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

Syntax

'宣告
Public Class SPFormCollection _
    Inherits SPBaseCollection
'用途
Dim instance As SPFormCollection
public class SPFormCollection : SPBaseCollection

備註

使用SPList類別的Forms屬性,傳回的清單表單集合。

若要從集合傳回單一的表單中使用索引子。例如,假設集合指派給變數,名為myForms ,使用在 C# 的myForms[index]或myForms(index)在 Microsoft Visual Basic,其中index是索引的數目在集合中的表單的站台相對 URL。

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.

請參閱

參照

SPFormCollection members

Microsoft.SharePoint namespace