AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This class contains the meta data for an S3 object.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public sealed class MetadataCollection
The MetadataCollection type exposes the following members
Name | Description | |
---|---|---|
![]() |
MetadataCollection() |
Name | Type | Description | |
---|---|---|---|
![]() |
Count | System.Int32 |
Gets the count of headers. |
![]() |
Item | System.String | |
![]() |
Keys | System.Collections.Generic.ICollection<System.String> |
Gets the names of the meta data elements. |
Name | Description | |
---|---|---|
![]() |
Add(string, string) |
Adds the metadata to the collection, if the name already exists it will be overwritten. |
![]() |
Clear() |
Clears user defined metadata from the collection. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5