WebPart.Caption property
SharePoint 2013
NOTE: This API is now obsolete.
Gets or sets a string that is added following the title in the title bar of the Web Part. This property is intended for document names or other context-specific information.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ObsoleteAttribute("Use Subtitle instead.")] [WebPartStorageAttribute(Storage.None)] public string Caption { get; set; }
Property value
Type: System.StringA string value for the text caption that is displayed following the Title property in the title bar. The default value is String.Empty.
The value of its WebPartStorageAttribute is Storage.None, which specifies that the property is not stored.