共用方式為


SPFormCollection.Item property (PAGETYPE)

從集合中取得指定之型別的表單。在 C# 中,這個屬性會是SPFormCollection類別的索引子。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    formType As PAGETYPE _
) As SPForm
    Get
'用途
Dim instance As SPFormCollection
Dim formType As PAGETYPE
Dim value As SPForm

value = instance(formType)
public SPForm this[
    PAGETYPE formType
] { get; }

參數

Property value

Type: Microsoft.SharePoint.SPForm
Microsoft.SharePoint.SPForm 物件,表示表單。

請參閱

參照

SPFormCollection class

SPFormCollection members

Item overload

Microsoft.SharePoint namespace