标签: sharepoint-2010 eventreceiver
在我的ItemAdded函数中,我想检查最后添加的项目是否为folde。如何检查。
答案 0 :(得分:3)
public class ClassName : SPItemEventReceiver { public override void ItemAdded(SPItemEventProperties properties) { bool isFolder = (properties.ListItem.Folder != null); } }