Partilhar via


WebPart.Subtitle Property

Returns the value of the Caption property.

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

Syntax

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

value = instance.Subtitle
public override string Subtitle { get; }

Property Value

Type: System.String
A string containing the value of the Caption property.

Implements

IWebPart.Subtitle

Remarks

This property is overwritten to provide backward capability for SharePoint Web Parts.

See Also

Reference

WebPart Class

WebPart Members

Microsoft.SharePoint.WebPartPages Namespace