Gets or sets the content-type value stored for the blob.
Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As BlobProperties
Dim value As String
value = instance.ContentType
instance.ContentType = value |
Syntax
Visual Basic |
---|
Public Property ContentType As String |
C# |
---|
public string ContentType { get; set; } |
C++ |
---|
public:
property String^ ContentType {
String^ get ();
void set (String^ value);
} |
J# |
---|
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public String get_ContentType ()
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public void set_ContentType (String value)
|
JScript |
---|
CompilerGeneratedAttribute
public function get ContentType () : String
CompilerGeneratedAttribute
public function set ContentType (value : String)
|
Property Value
A string containing the blob's content-type value.
Remarks
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also