을 목록에 IEnumerable을
public List<string> AttachmentURLS;
이 같은 목록에 항목을 추가하고 :
instruction.AttachmentURLS = curItem.Attributes["ows_Attachments"].Value.Split(';').ToList().Where(Attachment => !String.IsNullOrEmpty(Attachment));
을하지만 무엇입니까 이 오류 : 암시 적으로 IEnumerable을 목록으로 변환 할 수 없습니다.
무엇이 잘못 되었나요?
타입 캐스트를 추가 했습니까? instruction.AttachmentURLS = (목록) curItem.Attributes ... 물론, .ToList() 메소드를 잊어 버렸습니다. 끝까지 추가하십시오. –
Nilbert