Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
formType
Type: Microsoft.SharePoint.PAGETYPEAMicrosoft.SharePoint.PAGETYPE value that specifies the type of the form.
Property Value
Type: Microsoft.SharePoint.SPForm
A Microsoft.SharePoint.SPForm object that represents the form.