If I am localizing SharePoint a lot of Fields have 2 public properties:
TitleTitleResource
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.Update(true); field.TitleResource.SetValueForUICulture(new CultureInfo(lang.LCID), Utility.GetSharePointResource(InternalListName, FieldName, (uint)lang.LCID)); field.TitleResource.Update(); } As you can see, I am setting both values. Could I get away with only setting the Title or the TitleResource property?