共用方式為


SPWeb.Modules Property

Gets the collection of modules that are used on the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Modules As SPModuleCollection
    Get
'Usage
Dim instance As SPWeb
Dim value As SPModuleCollection

value = instance.Modules
public SPModuleCollection Modules { get; }

Property Value

Type: Microsoft.SharePoint.SPModuleCollection
A collection of SPModule objects.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace