Share via


WebPart.Title property

Gets or sets a value that specifies the title of a Web Part.

Namespace:  Microsoft.SharePoint.Client.WebParts
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property Title As String
    Get
    Set
'Usage
Dim instance As WebPart
Dim value As String

value = instance.Title

instance.Title = value
public string Title { get; set; }

Property value

Type: System.String
Returns a String instance representing the title of a Web Part.

Remarks

If this property is set to a null reference (Nothing in Visual Basic), the title of the Web Part must instead be reset to its default value if one is specified in the Web Part’s definition.

See also

Reference

WebPart class

WebPart members

Microsoft.SharePoint.Client.WebParts namespace