Compartir a través de


WebPart.Title Property

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

Namespace:  Microsoft.SharePoint.Client.WebParts
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property Title As String
    Get
    Set
'Usage
Dim instance As WebPart
Dim value As String

value = instance.Title

instance.Title = value
[RemoteAttribute]
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