문제

Inside my ItemAdded function I want to check the last added item is a folde or not. How to check that.

도움이 되었습니까?

해결책

public class ClassName : SPItemEventReceiver
{
    public override void ItemAdded(SPItemEventProperties properties)
    {
        bool isFolder = (properties.ListItem.Folder != null);
    }
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top