FriendlyNameAttribute.FriendlyName Property

Gets the caption displayed in the property pane for a Web Part's custom property.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property FriendlyName As String
    Get
'Usage
Dim instance As FriendlyNameAttribute
Dim value As String

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

Property Value

Type: System.String
The friendly name of the Web Part's custom property.

Remarks

The FriendlyName property is used if the ResourcesAttribute attribute isn't specified.

See Also

Reference

FriendlyNameAttribute Class

FriendlyNameAttribute Members

Microsoft.SharePoint.WebPartPages Namespace