SPRelatedWebPartAdder class

Provides a way to add a related list Web Part to the page and to connect it with a list form Web Part or another Web Part.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.SharePoint.WebControls.SPRelatedWebPartAdder

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class SPRelatedWebPartAdder _
    Inherits WebControl _
    Implements IPostBackEventHandler
'Usage
Dim instance As SPRelatedWebPartAdder
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class SPRelatedWebPartAdder : WebControl, 
    IPostBackEventHandler

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

SPRelatedWebPartAdder members

Microsoft.SharePoint.WebControls namespace