Condividi tramite


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    i As Integer _
) As SPPrefix
    Get
'Usage
Dim instance As SPPrefixCollection
Dim i As Integer
Dim value As SPPrefix

value = instance(i)
public SPPrefix this[
    int i
] { get; }

Parameters

  • i
    Type: System.Int32

    The 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.

See Also

Reference

SPPrefixCollection Class

SPPrefixCollection Members

Microsoft.SharePoint.Administration Namespace