Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ClientName property

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)

public string ClientName { get; }

Property value

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

The ClientName property is available only at run time.

Show:
© 2015 Microsoft