解析路径:
string listID = web.Lists["ConferenceTask"].ID.ToString();
string ContentTypeID = web.Lists["ConferenceTask"].ContentTypes["QuickFlowTaskContentType"].Id.ToString();
//“QuickFlowTaskContentType”为ContentTypes类型, 具体的ContentTypes类型需要查询,查询方法如下
取ContentTypeID,SPCAMLEditor-打开网站-找到列表:ConferenceTask-右键属性-ContentTypes-点开集合,查找url中的ContentTypeID属于哪个类型0x
<1>任务:0x010800B7AEDCA7EB980B43916896013A4EEDBE
<2>QuickFlowTaskContentType:0x01080100B46A15499317437594DC283203F9F63900ACDA8B7A6B31D64AA97A8A79E17BC330
<3>工作流任务:0x01080100D5FF76F00937E241B7BBF24636CEA254
........