共用方式為


SPWeb.Modules Property

Gets the collection of modules that are used on the Web site.

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

Syntax

Public ReadOnly Property Modules As SPModuleCollection
    Get

Dim instance As SPWeb
Dim value As SPModuleCollection

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

Property Value

Type: Microsoft.SharePoint.SPModuleCollection
An SPModuleCollection object that represents the modules.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace