WebPartDefinition Class

Represents a Web Part on a Web Part Page.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.WebParts.WebPartDefinition

Namespace:  Microsoft.SharePoint.Client.WebParts
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<ScriptTypeAttribute("SP.WebParts.WebPartDefinition", ServerTypeId := "{44bf1024-6127-432a-8e3d-fb317fb4541e}")> _
Public Class WebPartDefinition _
    Inherits ClientObject
'Usage
Dim instance As WebPartDefinition
[ScriptTypeAttribute("SP.WebParts.WebPartDefinition", ServerTypeId = "{44bf1024-6127-432a-8e3d-fb317fb4541e}")]
public class WebPartDefinition : ClientObject

Remarks

Provides operations for moving, deleting, and changing the state of the Web Part.

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

WebPartDefinition Members

Microsoft.SharePoint.Client.WebParts Namespace