title: How to set the version comment on a list item when you update it
body: <p>Each version can be given a comment when it is edited in the browser and this can be seen when viewing an items versions in in the browser.</p>
  
  <p>When I programmatically change a fields value on an SPListItem I would like to set a comment for this change. Ideally the comment string would be passed as a parameter to SPListItem.Update but it doesn't have any parameters. Nor can I find a property on the SPListItem to set this.</p>
  
  <p>If I overwrite a file in a document library using SPFileCollection.Add then there's a parameter available to set the checkInComment which is exactly what I want, but I can't find it on an SPListItem.</p>
  
  <p><strong>What I'm trying to update is the metadata on a document in a document library. As above I can add version comments when I overwrite with newer versions of the document, just not when I overwrite the fields themselfs.</strong></p>