SPs.WebPart(Context, ObjectPath) Constructor
Applies to: SharePoint Foundation 2010
Initializes a new instance of the SP.WebParts.WebPart Class.
var value = new WebPart(Context, ObjectPath);
Parameters
Context
Type: SP.ClientRuntimeContext
ObjectPath
Type: SP.ObjectPath