IPWorks Cloud 2020 .NET Edition

Questions / Feedback?

MetadataList Event

Fires once for each metadata item returned when listing metadata.

Syntax

public event OnMetadataListHandler OnMetadataList;

public delegate void OnMetadataListHandler(object sender, AzureblobMetadataListEventArgs e);

public class AzureblobMetadataListEventArgs : EventArgs {
  public string Container { get; }
  public string Blob { get; }
  public string Snapshot { get; }
  public string Name { get; }
  public string Value { get; }
}
Public Event OnMetadataList As OnMetadataListHandler

Public Delegate Sub OnMetadataListHandler(sender As Object, e As AzureblobMetadataListEventArgs)

Public Class AzureblobMetadataListEventArgs Inherits EventArgs
  Public ReadOnly Property Container As String
  Public ReadOnly Property Blob As String
  Public ReadOnly Property Snapshot As String
  Public ReadOnly Property Name As String
  Public ReadOnly Property Value As String
End Class

Remarks

This event fires once for each metadata item returned when GetBlobInfo or GetContainerInfo is called. If the ListWithMetadata configuration setting is enabled, it also fires as metadata for each individual blob or container is returned when ListBlobs or ListContainers is called.

Container is the name of the container that the blob is in (if Blob is non-empty), or that the metadata item is associated with (if Blob is empty).

Blob, if non-empty, is the name of the blob that the metadata item is associated with.

Snapshot, if non-empty, is the opaque DateTime value that identifiers the blob snapshot that the metadata item is associated with.

Name is the name of the metadata item, without the x-ms-meta- prefix.

Value the metadata item's value.

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