WebPartDefinition.Id Property

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

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
<RemoteAttribute> _
Public ReadOnly Property Id As Guid
    Get
'Usage
Dim instance As WebPartDefinition
Dim value As Guid

value = instance.Id
[RemoteAttribute]
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