Item(String) Property

The Item property of the SPFormCollection class gets the form located at the specified URL from the collection.

[C#] In C#, this property is an indexer for the SPFormCollection class.

Parameters

Url   A string that contains the site-relative URL.

Property Value

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.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security