다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

value = instance.Item(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