If I am localizing SharePoint a lot of Fields have 2 public properties:

  • Title
  • TitleResource

What is the difference between them?

Currently I am localizing a Field with this piece of code:

foreach (SPLanguage lang in InstalledLanguages)
    SPField field = CurrentList.Fields.GetFieldByInternalName(FieldName);
    field.Title = Utility.GetSharePointResource(InternalListName, FieldName, (uint)lang.LCID);
    field.TitleResource.SetValueForUICulture(new CultureInfo(lang.LCID), Utility.GetSharePointResource(InternalListName, FieldName, (uint)lang.LCID));

As you can see, I am setting both values. Could I get away with only setting the Title or the TitleResource property?

1 Answer 1


As per MSDN TitleResource is the source for Title property. Usually, setting Title property sets the value for the current culture. To set the Title value for multiple culture we need to use TitleResource.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.