Item(Int32) Property

The Item property of the SPPrefixCollection class gets the prefix object at the specified index in the collection.

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


i A 32-bit integer that specifies the index.

Property Value

A Microsoft.SharePoint.Administration.SPPrefix object that represents the prefix.


The Item property throws an ArgumentOutOfRangeException if the specified index is outside the valid range of indices for the collection.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security