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 3.5
 
Common interface for both S3FileInfo and S3DirectoryInfo.

Inheritance Hierarchy

Amazon.S3.IO.IS3FileSystemInfo

Namespace: Amazon.S3.IO
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public interface IS3FileSystemInfo

The IS3FileSystemInfo type exposes the following members

Properties

NameTypeDescription
Public Property Exists System.Boolean Returns true if the item exists in S3.
Public Property Extension System.String Returns the extension of the item.
Public Property FullName System.String Returns the fully qualified path to the item.
Public Property LastWriteTime System.DateTime Returns the last modified time for this item from S3 in local timezone.
Public Property LastWriteTimeUtc System.DateTime Returns the last modified time for this item from S3 in UTC timezone.
Public Property Name System.String Returns the name of the item without parent information.
Public Property Type Amazon.S3.IO.FileSystemType Indicates what type of item this object represents.

Methods

NameDescription
Public Method Delete() Deletes this item from S3.

Version Information

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