根据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)
时间: 2024-12-27 02:27:15