WebPart Class
Represents a Web Part on a Web Part Page.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.Client.ClientObject
Microsoft.SharePoint.Client.WebParts.WebPart
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.WebPart", ServerTypeId := "{612a6bd9-6c99-43c9-813a-8d7e19702118}")> _
Public Class WebPart _
Inherits ClientObject
'Usage
Dim instance As WebPart
[ScriptTypeAttribute("SP.WebParts.WebPart", ServerTypeId = "{612a6bd9-6c99-43c9-813a-8d7e19702118}")]
public class WebPart : 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.