Share via


Item(Int32) Property

The Item property of the SPGroupCollection class gets the cross-site group object at the specified index in the collection.

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

Parameters

index   A 32-bit integer that specifies the index.

Property Value

A Microsoft.SharePoint.SPGroup object that represents the cross-site group.

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