IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

Metadata Property

A collection of metadata items.

Syntax


 getMetadata(): B2MetadataList;

 setMetadata(metadata: B2MetadataList): void;

Default Value

Remarks

This collection holds a list of B2Metadata items.

This collection is populated when GetBucketInfo or GetFileInfo is called; and its items are used anytime one of the following methods is called:

Note that there is a limit of 10 metadata items per bucket and per file; the class does not enforce this limit, but the server will return an error if it is exceeded. For files specifically, any value set using the ClientModifiedTime configuration setting will count towards this limit; refer that setting's documentation for more information.

This property is not available at design time.

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