Firebase. Storage. MetadataChange
MetadataChange is a set of new metadata values used during object upload or when modifying the metadata of an object.
Summary
A MetadataChange can be created from an existing StorageMetadata or it can be created from scratch.
Constructors and Destructors |
|
---|---|
MetadataChange()
Creates an empty set of metadata.
|
|
MetadataChange(StorageMetadata original)
Used to create a modified version of the original set of metadata.
|
Properties |
|
---|---|
CacheControl
|
string
Gets or sets the Cache Control for the StorageReference.
|
ContentDisposition
|
string
Gets or sets the content disposition for the StorageReference.
|
ContentEncoding
|
string
Gets or sets the content encoding for the StorageReference.
|
ContentLanguage
|
string
Gets or sets the content language for the StorageReference.
|
ContentType
|
string
Gets or sets the Content Type of this associated StorageReference.
|
CustomMetadata
|
IDictionary< string, string >
Gets or sets custom metadata.
|
Properties
ContentDisposition
string ContentDisposition
Gets or sets the content disposition for the StorageReference.
ContentLanguage
string ContentLanguage
Gets or sets the content language for the StorageReference.
This must be an ISO 639-1
two-letter language code. E.g. "zh", "es", "en".
CustomMetadata
IDictionary< string, string > CustomMetadata
Gets or sets custom metadata.
To use this in an object initalizer, you may use the form: var change = new MetadataChange { CustomMetadata = new Dictionary
Public functions
MetadataChange
MetadataChange()
Creates an empty set of metadata.
MetadataChange
MetadataChange( StorageMetadata original )
Used to create a modified version of the original set of metadata.
Details | |||
---|---|---|---|
Parameters |
|