SPField.Title property

Gets or sets the display name for the field.

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

public string Title { get; set; }

Property value

Type: System.String
A string that contains the display name.

The value that is returned can vary depending on the current thread's Thread.CurrentUICulture property. For more information, see the TitleResource property.

The following example is a console application that iterates through the list of cultures supported by a Web site and sets the current thread's CurrentUICulture to each one, in turn. For each supported culture, the application prints the name of the culture and the value of the Title property in that culture.

using System;
using System.Globalization;
using System.Threading;
using Microsoft.SharePoint;

namespace ConsoleApp
    class Program
        static void Main(string[] args)
            using (SPSite site = new SPSite("http://localhost"))
                using (SPWeb web = site.RootWeb)
                    SPField field = web.AvailableFields[SPBuiltInFieldId.User];

                    string formatString = "{0, -20} {1}";
                    Console.WriteLine(formatString, "CurrentUICulture", "Title");

                    foreach (CultureInfo culture in web.SupportedUICultures)
                        Thread.CurrentThread.CurrentUICulture = culture;
                        Console.WriteLine(formatString, culture.Name, field.Title);
            Console.Write("\nPress ENTER to continue....");