Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPModuleCollection class

Represents a collection of SPModule objects.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableTypeAttribute]
public class SPModuleCollection : SPBaseCollection

Use the Modules property of the SPWeb class to return the collection of modules for a site. Use an indexer to return a single module from the collection. For example, if the collection is assigned to a variable named myModules, use myModules[index] in Microsoft Visual C#, or myModules(index) in Microsoft Visual Basic, where index is the index number of the module in the collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.