Share via


SPFormCollection.Item property (PAGETYPE)

Gets the form of the specified type from the collection. In C#, this property is an indexer for the SPFormCollection class.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    formType As PAGETYPE _
) As SPForm
    Get
'Usage
Dim instance As SPFormCollection
Dim formType As PAGETYPE
Dim value As SPForm

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

Parameters

Property value

Type: Microsoft.SharePoint.SPForm
A Microsoft.SharePoint.SPForm object that represents the form.

See also

Reference

SPFormCollection class

SPFormCollection members

Item overload

Microsoft.SharePoint namespace