This topic has not yet been rated - Rate this topic

ListItem.DisplayName Property

SharePoint 2010

Gets a value that specifies the display name of the list item.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll);  Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll)
[RemoteAttribute]
public string DisplayName { get; }

Property Value

Type: System.String
Returns a String.instance representing the display name of the list item.

It must not be null. It must not be empty.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
accessing throws exception
I've created ListItem by context.ExecuteQuery and context.Load(List.GetItemById(id-value) and trying to access DisplayName member of ListItem throws exception. I don't see what else I can load in order to have a value.