c#学习笔记-0520 (SharePointAPI)

时间:2014-05-21 20:11:30   收藏:0   阅读:288

根据SPContentType新建Item

Item01["ContentTypeId"] = LinkCT.Id;
Item01.Update();

 

取SharePoint Build-In ContentType或者Column

SPContentType LinkCT = web.ContentTypes[SPBuiltInContentTypeId.Link];

SPField Field = web.Fields[SPBuildInFieldId.Modify];

 

 

c#学习笔记-0520 (SharePointAPI),布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!