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)
Available in Sandboxed Solutions: No

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