質問

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