I built the following code so far:
SPWeb web = __Context.Web;
Guid listGuid = new Guid(__Context.ListId);
SPList myList = web.Lists[listGuid];
SPListItem myItem = myList.GetItemById(__Context.ItemId);
if (myItem.FileSystemObjectType == SPFileSystemObjectType.Folder)
{
// This item is a folder, need to check if it has an .doc file inside
???
}
How do I obtain the collection of items inside myItem?
