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
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Class WebPart _
    Inherits ClientObject
'Usage
Dim instance As WebPart
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.

See also

Reference

WebPart members

Microsoft.SharePoint.Client.WebParts namespace