AWS SDK Version 2 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.

.NET Framework 4.5
 
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.dll
Version: (assembly version)

Syntax

C#
public class S3ObjectVersion : S3Object

The S3ObjectVersion type exposes the following members

Constructors

NameDescription
Public Method S3ObjectVersion()

Properties

NameTypeDescription
Public Property ETag System.String Any ETag set on the object.
Public Property IsDeleteMarker System.Boolean If true, the object is a delete marker for a deleted object.
Public Property IsLatest System.Boolean Specifies whether the object is (true) or is not (false) the latest version of an object.
Public Property Key System.String The key of the object.
Public Property LastModified System.DateTime The date and time the object was last modified. The date retrieved from S3 is in ISO8601 format. A GMT formatted date is passed back to the user.
Public Property Owner Amazon.S3.Model.Owner The owner of the object.
Public Property Size System.Int64 The size of the object.
Public Property StorageClass Amazon.S3.S3StorageClass The class of storage used to store the object.
Public Property VersionId System.String Version ID of an object.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8