I am able to access User Made Folder as:
NotesView folder = _notesDatabase.GetView(folderName);
NotesDocument folderDoc = folder.GetFirstDocument();
But problem is that it can consist of “Mail”,”Calendar” and “To Do”.
I am not able to differentiate them. Any ideas?
To differentiate by document type, you can generally use the “form” field value on a document. So, after you get the document handle (the NotesDocument object), use getItemValue to get the value of the form field. For example: