DataAttribute.Name property

Gets or sets the internal name of the list field (column) or list property.

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 DataAttribute
Dim value As String

value = instance.Name

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

Property value

Type: System.String
A String that identifies the name of the field or property.

Remarks

The Name property only needs to be specified when the property to which the attribute is applied is not the same as the internal name of the field.

See also

Reference

DataAttribute class

DataAttribute members

Microsoft.SharePoint.Linq namespace