开发者

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜