Compartir a través de


SPLimitedWebPartCollection Class

A read-only collection of the ASP.NET Web Parts exposed by SPLimitedWebPartManager.

Inheritance Hierarchy

System.Object
  System.Collections.ReadOnlyCollectionBase
    Microsoft.SharePoint.WebPartPages.SPLimitedWebPartCollection

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

Syntax

<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPLimitedWebPartCollection _
    Inherits ReadOnlyCollectionBase

Dim instance As SPLimitedWebPartCollection
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPLimitedWebPartCollection : ReadOnlyCollectionBase

Remarks

The Web Parts in SPLimitedWebPartCollection may be accessed programmatically through the API that is exposed by SPLimitedWebPartManager.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPLimitedWebPartCollection Members

Microsoft.SharePoint.WebPartPages Namespace