IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

MetadataList Event

Fires once for each metadata item returned when listing metadata.

Syntax

ANSI (Cross Platform)
virtual int FireMetadataList(AzureBlobMetadataListEventParams *e);
typedef struct {
const char *Container;
const char *Blob;
const char *Snapshot;
const char *Name;
const char *Value; int reserved; } AzureBlobMetadataListEventParams; Unicode (Windows) virtual INT FireMetadataList(AzureBlobMetadataListEventParams *e);
typedef struct {
LPCWSTR Container;
LPCWSTR Blob;
LPCWSTR Snapshot;
LPCWSTR Name;
LPCWSTR Value; INT reserved; } AzureBlobMetadataListEventParams;
- (void)onMetadataList:(NSString*)container :(NSString*)blob :(NSString*)snapshot :(NSString*)name :(NSString*)value;
#define EID_AZUREBLOB_METADATALIST 9

virtual INT IPWORKSCLOUD_CALL FireMetadataList(LPSTR &lpszContainer, LPSTR &lpszBlob, LPSTR &lpszSnapshot, LPSTR &lpszName, LPSTR &lpszValue);

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 C++ Edition - Version 20.0 [Build 8265]