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

Contains information about a successful delete operation against a specific S3 object.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.DeletedObject

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

Syntax

C#
public class DeletedObject

The DeletedObject type exposes the following members

Constructors

NameDescription
Public Method DeletedObject()

Properties

NameTypeDescription
Public Property DeleteMarker System.Boolean

Gets and sets the property DeleteMarker.

Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker.

This functionality is not supported for directory buckets.

Public Property DeleteMarkerVersionId System.String

Gets and sets the property DeleteMarkerVersionId.

The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.

This functionality is not supported for directory buckets.

Public Property Key System.String

Gets and sets the property Key.

The name of the deleted object.

Public Property VersionId System.String

Gets and sets the property VersionId.

The version ID of the deleted object.

This functionality is not supported for directory buckets.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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