SPDataSource.UseInternalName property

Gets or sets a Boolean value that indicates whether fields are referenced by internal names.

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

Syntax

'Declaration
Public Property UseInternalName As Boolean
    Get
    Set
'Usage
Dim instance As SPDataSource
Dim value As Boolean

value = instance.UseInternalName

instance.UseInternalName = value
public bool UseInternalName { get; set; }

Property value

Type: System.Boolean
true to use internal names for fields (that is, the values of the SPField.InternalName property); otherwise, false. The default is false.

Remarks

The default is to use display names. To use internal names, set the UseInternalName property to true.

See also

Reference

SPDataSource class

SPDataSource members

Microsoft.SharePoint.WebControls namespace