Whats the difference between SPListItem["property"] and SPListItem.Properties["property"]?
I've开发者_开发知识库 been working with the SharePoint object model and got that question.
aListItem["property"] is not correct It is aListItem["fieldName"]
So:
aListItem["property"]
will get the value of the field named "property"
and
aListitem.Properties["property"]
will get the value of the property "Property" (eg List)
精彩评论