AWS SDK Version 4 for .NET
API Reference

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.

Represents a version of an object in an S3 Bucket. An S3 object version is an S3 object that also has a version identifier, an indication of whether this is the latest version of the object and whether it's a DeleteMarker or not.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.S3Object
    Amazon.S3.Model.S3ObjectVersion

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class S3ObjectVersion : S3Object

The S3ObjectVersion type exposes the following members

Constructors

NameDescription
Public Method S3ObjectVersion()

Properties

NameTypeDescription
Public Property BucketName System.String Inherited from Amazon.S3.Model.S3Object.
Public Property ChecksumAlgorithm System.Collections.Generic.List<System.String> Inherited from Amazon.S3.Model.S3Object.
Public Property ChecksumType Amazon.S3.ChecksumType Inherited from Amazon.S3.Model.S3Object.
Public Property ETag System.String Inherited from Amazon.S3.Model.S3Object.
Public Property IsDeleteMarker System.Nullable<System.Boolean>

If true, the object is a delete marker for a deleted object.

Public Property IsLatest System.Nullable<System.Boolean>

Specifies whether the object is (true) or is not (false) the latest version of an object.

Public Property Key System.String Inherited from Amazon.S3.Model.S3Object.
Public Property LastModified System.Nullable<System.DateTime> Inherited from Amazon.S3.Model.S3Object.
Public Property Owner Amazon.S3.Model.Owner Inherited from Amazon.S3.Model.S3Object.
Public Property RestoreStatus Amazon.S3.Model.RestoreStatus Inherited from Amazon.S3.Model.S3Object.
Public Property Size System.Nullable<System.Int64> Inherited from Amazon.S3.Model.S3Object.
Public Property StorageClass Amazon.S3.S3StorageClass Inherited from Amazon.S3.Model.S3Object.
Public Property VersionId System.String

Version ID of an object.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer