SPListItem.DisplayName property

Gets the display name of the item.

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

Syntax

'Declaration
Public ReadOnly Property DisplayName As String
    Get
'Usage
Dim instance As SPListItem
Dim value As String

value = instance.DisplayName
public string DisplayName { get; }

Property value

Type: System.String
A string that contains the item display name, which for a document library item equals what the user types in the Name box of the item form. The default value equals the original name of the uploaded file minus the file type extension.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace