I have a content type, that will store text site columns, and I want to know if its possible to have an attachments collection? This I guess could be stored in some folder structure.
+2
A:
All content types that don't inherit from Document automatically have an attachments collection: SPListItem.Attachments
The Attachments property does not apply to document libraries and returns an ArgumentOutOfRangeException exception if applied to a document library.
dahlbyk
2009-08-20 09:04:41
Sounds good, can a list item also have a site Column which is of type file?
JL
2009-08-21 12:21:22
No, your only file attachment options are a "list item" with Attachments or a "document" with a single attachment that gets special treatment. And of course, with a custom field type you can do just about anything.
dahlbyk
2009-08-21 12:45:37