SPWebPartManager.CopyWebPart Method
SharePoint 2010
Returns the WebPart passed in without creating a copy.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- webPart
- Type: System.Web.UI.WebControls.WebParts.WebPart
The Web Part or server control.