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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.EnumParameter)> _
Public ReadOnly Property Item ( _
    formType As PAGETYPE _
) As SPForm
    Get
'Usage
Dim instance As SPFormCollection
Dim formType As PAGETYPE
Dim value As SPForm

value = instance.Item(formType)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.EnumParameter)]
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