Condividi tramite


SPList.Title Property

Gets or sets the displayed title for the list.

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

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MaxLength, Value := )> _
Public Property Title As String
    Get
    Set
'Usage
Dim instance As SPList
Dim value As String

value = instance.Title

instance.Title = value
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxLength, Value = )]
public string Title { get; set; }

Property Value

Type: System.String
A string that contains the title.

Remarks

The value that is returned can vary depending on the current thread's Thread.CurrentUICulture property. For more information, see the TitleResource property.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace

TitleResource