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)
Available in Sandboxed Solutions: No

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