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 located at the specified URL 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: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Item ( _
url As String _
) As SPForm
Get
'Usage
Dim instance As SPFormCollection
Dim url As String
Dim value As SPForm
value = instance.Item(url)
public SPForm this[
string url
] { get; }
Parameters
url
Type: System.StringA string that contains the site-relative URL.
Property Value
Type: Microsoft.SharePoint.SPForm
A Microsoft.SharePoint.SPForm object that represents the form.
Remarks
The Item property returns an ArgumentException if the form does not exist at the specified URL.