SPModuleCollection.Item property

Gets the module object at the specified index in the collection. In Microsoft Visual C#, this property is the indexer for the SPModuleCollection class.

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

Syntax

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

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

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index.

Property value

Type: Microsoft.SharePoint.SPModule
A Microsoft.SharePoint.SPModule object that represents the module.

See also

Reference

SPModuleCollection class

SPModuleCollection members

Microsoft.SharePoint namespace