Share via


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

Syntax

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