Share via


SPUserStorageCollection.Item property

Gets the user-storage object at the specified index in the collection. In C#, this property is the indexer for the SPUserStorageCollection class.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPUserStorage
    Get
'Usage
Dim instance As SPUserStorageCollection
Dim index As Integer
Dim value As SPUserStorage

value = instance(index)
public SPUserStorage this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index.

Property value

Type: Microsoft.SharePoint.SPUserStorage
A Microsoft.SharePoint.SPUserStorage object that represents the user storage.

See also

Reference

SPUserStorageCollection class

SPUserStorageCollection members

Microsoft.SharePoint namespace