FolderList Event

Fired when a folder is retrieved by the server.

Syntax

public event OnFolderListHandler OnFolderList;

public delegate void OnFolderListHandler(object sender, Office365FolderListEventArgs e);

public class Office365FolderListEventArgs : EventArgs {
  public string Id { get; }
  public string DisplayName { get; }
  public string ParentFolderId { get; }
  public int ChildFolderCount { get; }
  public int UnreadItemCount { get; }
  public int TotalItemCount { get; }
}
Public Event OnFolderList As OnFolderListHandler

Public Delegate Sub OnFolderListHandler(sender As Object, e As Office365FolderListEventArgs)

Public Class Office365FolderListEventArgs Inherits EventArgs
  Public ReadOnly Property Id As String
  Public ReadOnly Property DisplayName As String
  Public ReadOnly Property ParentFolderId As String
  Public ReadOnly Property ChildFolderCount As Integer
  Public ReadOnly Property UnreadItemCount As Integer
  Public ReadOnly Property TotalItemCount As Integer
End Class

Remarks

The FolderList event is fired for each folder retrieved from the server when ListFolders is called.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 .NET Edition - Version 20.0 [Build 8308]