SPPrefixCollection.Item property
Gets the prefix object at the specified index in the collection. In C#, this property is an indexer for the SPPrefixCollection class.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
i As Integer _
) As SPPrefix
Get
'Usage
Dim instance As SPPrefixCollection
Dim i As Integer
Dim value As SPPrefix
value = instance.Item(i)
public SPPrefix this[
int i
] { get; }
Parameters
i
Type: System.Int32The index of the item in the collection.
Property value
Type: Microsoft.SharePoint.Administration.SPPrefix
An SPPrefix object that represents the prefix.
Remarks
The Item property throws an ArgumentOutOfRangeException if the specified index is outside the valid range of indices for the collection.