AttachmentList Event

Fired when an attachment is retrieved from the server.

Syntax

public event OnAttachmentListHandler OnAttachmentList;

public delegate void OnAttachmentListHandler(object sender, Office365AttachmentListEventArgs e);

public class Office365AttachmentListEventArgs : EventArgs {
  public string Id { get; }
  public string Name { get; }
  public string ContentType { get; }
  public string ContentLocation { get; }
  public string ContentBytes { get; }
public byte[] ContentBytesB { get; } public string ContentId { get; } public string LastModifiedDateTime { get; } public bool IsInline { get; } public int Size { get; } }
Public Event OnAttachmentList As OnAttachmentListHandler

Public Delegate Sub OnAttachmentListHandler(sender As Object, e As Office365AttachmentListEventArgs)

Public Class Office365AttachmentListEventArgs Inherits EventArgs
  Public ReadOnly Property Id As String
  Public ReadOnly Property Name As String
  Public ReadOnly Property ContentType As String
  Public ReadOnly Property ContentLocation As String
  Public ReadOnly Property ContentBytes As String
Public ReadOnly Property ContentBytesB As Byte() Public ReadOnly Property ContentId As String Public ReadOnly Property LastModifiedDateTime As String Public ReadOnly Property IsInline As Boolean Public ReadOnly Property Size As Integer End Class

Remarks

The AttachmentList event is fired for each attachment retrieved from the server when ListAttachments is called.

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