Share via


ListAttribute.Name Property

Gets or sets the name of the list.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public Property Name As String
    Get
    Set
'Usage
Dim instance As ListAttribute
Dim value As String

value = instance.Name

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

Property Value

Type: System.String
A String that represents the name of the list.

Remarks

The Name property only needs to be explicit in the attribute decoration if the class name is not exactly the same as the list name.

See Also

Reference

ListAttribute Class

ListAttribute Members

Microsoft.SharePoint.Linq Namespace