S3FileInfo.MoveTo Method (string, string)

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Moves the file to a a new location in S3.

Namespace: Amazon.S3.IO
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public S3FileInfo MoveTo(
         String bucket,
         String key
)

Parameters

bucket
Type: System.String

Bucket to move the file to.

key
Type: System.String

Object key to move the file to.

Return Value
Type: Amazon.S3.IO.S3FileInfo
S3FileInfo for the target location.

Exceptions

Version Information

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