WebPart.ClientName property

Gets the unique name of the Web Part used by the client-side Web Part Page Service Component (WPSC).

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property ClientName As String
    Get
'Usage
Dim instance As WebPart
Dim value As String

value = instance.ClientName
public string ClientName { get; }

Property value

Type: System.String
A string specifying the unique identifier for the Web Part.

Remarks

The ClientName property is available only at run time.

See also

Reference

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace