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.
The Item property of the SPWebPartCollection class gets the Web Part object at the specified index in the collection.
[C#] In C#, this property is an indexer for the SPWebPartCollection class.
Parameters
index A 32-bit integer that identifies the Web Part object.
Property Value
A Microsoft.SharePoint.WebPartPages.WebPart object that represents the Web Part.
Remarks
The Item property throws an ArgumentOutOfRangeException if the specified index is outside the valid range of indices for the collection.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security