PrefixList Event

Fires once for each common prefix returned when listing objects.

Syntax

public event OnPrefixListHandler OnPrefixList;

public delegate void OnPrefixListHandler(object sender, S3clientPrefixListEventArgs e);

public class S3clientPrefixListEventArgs : EventArgs {
  public string BucketName { get; }
  public string Prefix { get; }
}
Public Event OnPrefixList As OnPrefixListHandler

Public Delegate Sub OnPrefixListHandler(sender As Object, e As S3clientPrefixListEventArgs)

Public Class S3clientPrefixListEventArgs Inherits EventArgs
  Public ReadOnly Property BucketName As String
  Public ReadOnly Property Prefix As String
End Class

Remarks

This event fires once for each common prefix returned when ListObjects or ListVersions is called when ObjectDelimiter is non-empty. Refer to ObjectDelimiter for more information.

BucketName reflects the name of the bucket that the prefix is in.

Prefix is the common prefix.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 .NET Edition - Version 20.0 [Build 8164]