Share via


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

Applies To

SP.WebParts.WebPart Class

See Also

Reference

SP.WebParts.WebPart Methods

SP.WebParts.WebPart Properties

SP.WebParts Namespace