AWS SDK for .NET Documentation
WithContentType Method (contentType)
AmazonAmazon.S3.TransferTransferUtilityUploadRequestWithContentType(String) Did this page help you?   Yes   No    Tell us about it...
Sets the content type of the uploaded Amazon S3 object. and returns this object instance, enabling additional method calls to be chained together. This property defaults to binary/octet-stream.
Declaration Syntax
C#
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
public TransferUtilityUploadRequest WithContentType(
	string contentType
)
Parameters
contentType (String)
the value the ContentType to be set to
Return Value
This object instance, enabling additional method calls to be chained together.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)