BucketList Event
Fires once for each bucket returned when listing buckets.
Syntax
public event OnBucketListHandler OnBucketList; public delegate void OnBucketListHandler(object sender, DigitaloceanBucketListEventArgs e); public class DigitaloceanBucketListEventArgs : EventArgs { public string BucketName { get; } public string CreationDate { get; } public string OwnerId { get; } public string OwnerName { get; } }
Public Event OnBucketList As OnBucketListHandler Public Delegate Sub OnBucketListHandler(sender As Object, e As DigitaloceanBucketListEventArgs) Public Class DigitaloceanBucketListEventArgs Inherits EventArgs Public ReadOnly Property BucketName As String Public ReadOnly Property CreationDate As String Public ReadOnly Property OwnerId As String Public ReadOnly Property OwnerName As String End Class
Remarks
This event fires once for each bucket returned when ListBuckets is called.
BucketName reflects the name of the bucket.
CreationDate reflects the bucket's creation date.
OwnerId and OwnerName reflect the Id and display name of the bucket's owner, respectively.