Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 ItemAdded 函数中,我想检查最后添加的项目是否为折叠。如何检查。
public class ClassName : SPItemEventReceiver { public override void ItemAdded(SPItemEventProperties properties) { bool isFolder = (properties.ListItem.Folder != null); } }