SALES: 1-800-867-1380
Collapse the table of content
Expand the table of content
Expand Minimize

CloudBlockBlob.UploadText Method (String, Encoding, AccessCondition, BlobRequestOptions, OperationContext)

 

Uploads a string of text to a blob. If the blob already exists, it will be overwritten.

Namespace:   Microsoft.WindowsAzure.Storage.Blob
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

[DoesServiceRequestAttribute]
public void UploadText(
	string content,
	Encoding encoding = null,
	AccessCondition accessCondition = null,
	BlobRequestOptions options = null,
	OperationContext operationContext = null
)

Parameters

content
Type: System.String

A string containing the text to upload.

encoding
Type: System.Text.Encoding

A Encoding object that indicates the text encoding to use. If null, UTF-8 will be used.

accessCondition
Type: Microsoft.WindowsAzure.Storage.AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed.

options
Type: Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
Type: Microsoft.WindowsAzure.Storage.OperationContext

An OperationContext object that represents the context for the current operation.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft