title: How to set the name of a new SPListItem programmatically?
body: <p>I have a custom list which can contain a CustomContentType. This is how i create a new item:</p>
  
  <pre><code>//Create root folder
  SPListItem rootItem = navigation.Items.Add();
  SPContentType folderType = navigation.ContentTypes["ListLevel"];
  rootItem[SPBuiltInFieldId.Title] = "root";
  rootItem["ContentTypeId"] = folderType.Id;
  rootItem.Update();
  </code></pre>
  
  <p>The problem is, when I'm looking at my list after this I see that:</p>
  
  <p><img src="https://i.stack.imgur.com/QOMwb.png" alt="enter image description here"></p>
  
  <p>When I go to the list via a webbrowser and create the content type manually, everthing is fine. (Which means that the Title is "root" and not the ID).</p>