IPWorks Cloud 2020 .NET Edition

Questions / Feedback?

ObjectList Event

Fires once for each object, object version, or multipart upload returned when listing such items.

Syntax

public event OnObjectListHandler OnObjectList;

public delegate void OnObjectListHandler(object sender, LinodeObjectListEventArgs e);

public class LinodeObjectListEventArgs : EventArgs {
  public string ObjectName { get; }
  public string LastModified { get; }
  public long Size { get; }
  public string ETag { get; }
  public string OwnerId { get; }
  public string OwnerName { get; }
  public string UploadId { get; }
  public string VersionId { get; }
  public bool LatestVersion { get; }
  public bool Deleted { get; }
}
Public Event OnObjectList As OnObjectListHandler

Public Delegate Sub OnObjectListHandler(sender As Object, e As LinodeObjectListEventArgs)

Public Class LinodeObjectListEventArgs Inherits EventArgs
  Public ReadOnly Property ObjectName As String
  Public ReadOnly Property LastModified As String
  Public ReadOnly Property Size As Long
  Public ReadOnly Property ETag As String
  Public ReadOnly Property OwnerId As String
  Public ReadOnly Property OwnerName As String
  Public ReadOnly Property UploadId As String
  Public ReadOnly Property VersionId As String
  Public ReadOnly Property LatestVersion As Boolean
  Public ReadOnly Property Deleted As Boolean
End Class

Remarks

This event fires once for each object, object version, or multipart upload returned when GetObjectInfo, ListObjects, ListVersions, or ListMultipartUploads is called.

ObjectName reflects the name of the object.

LastModified reflects the last modified time of the object. Not applicable when ListMultipartUploads is called.

Size reflects the size, in bytes, of the object. Not applicable when ListMultipartUploads is called.

ETag reflects the object's ETag. Not applicable when ListMultipartUploads is called.

OwnerId and OwnerName reflect the Id and display name of the object's owner, respectively. Not applicable when GetObjectInfo is called.

UploadId reflects the Id of the multipart upload. Only applicable when ListMultipartUploads is called.

VersionId reflects the Id of the object version (note that the string null is a valid version Id). Only applicable when ListVersions is called, or when GetObjectInfo is called while VersionId is non-empty; empty in all other cases.

LatestVersion indicates whether this is the latest object version. Only applicable when ListVersions is called; true in all other cases.

Deleted indicates whether this object version is a delete marker (refer to DeleteObject for more information). Only applicable when ListVersions is called, or when GetObjectInfo is called while VersionId is non-empty; false in all other cases.

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