Share via


WebPartDefinition.Id property

Gets a value that specifies the Web Part identifier of the Web Part.

Namespace:  Microsoft.SharePoint.Client.WebParts
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property Id As Guid
    Get
'Usage
Dim instance As WebPartDefinition
Dim value As Guid

value = instance.Id
public Guid Id { get; }

Property value

Type: System.Guid
Returns a Guid instance representing the Web Part identifier of the Web Part.

Remarks

This value must be unique for each Web Part.

See also

Reference

WebPartDefinition class

WebPartDefinition members

Microsoft.SharePoint.Client.WebParts namespace