销售电话: 1-800-867-1380

CloudBlob.SetProperties 方法 (BlobRequestOptions)

Updates the blob's properties.

命名空间: Microsoft.WindowsAzure.StorageClient
程序集: Microsoft.WindowsAzure.StorageClient(在 microsoft.windowsazure.storageclient.dll 中)

用法
Dim instance As CloudBlob
Dim options As BlobRequestOptions

instance.SetProperties(options)

public:
void SetProperties (
	BlobRequestOptions^ options
)
public void SetProperties (
	BlobRequestOptions options
)
public function SetProperties (
	options : BlobRequestOptions
)

参数

options

An object that specifies any additional options for the request.

The SetProperties method writes the blob's writable property values to the service. The blob's writable properties are CacheControl, ContentEncoding, ContentLanguage, ContentMd5, and ContentType.

Note that setting these property values sets them on the blob reference only; you must call SetProperties or BeginSetProperties to write them to the service.


此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不保证所有实例成员都是线程安全的。

开发平台

Windows XP Home Edition, Windows XP Professional, Windows Server 2003、Windows Server 2008 和 Windows 2000

目标平台

本文是否对您有所帮助?
(1500 个剩余字符)
感谢您的反馈

社区附加资源

显示:
© 2014 Microsoft