CloudBlobContainer.GetBlobReference Method

Definition

Overloads

GetBlobReference(String, Nullable<DateTimeOffset>)

Gets a reference to a blob in this container.

GetBlobReference(String)

Gets a reference to a blob in this container.

GetBlobReference(String, Nullable<DateTimeOffset>)

Gets a reference to a blob in this container.

public virtual Microsoft.Azure.Storage.Blob.CloudBlob GetBlobReference (string blobName, DateTimeOffset? snapshotTime);
abstract member GetBlobReference : string * Nullable<DateTimeOffset> -> Microsoft.Azure.Storage.Blob.CloudBlob
override this.GetBlobReference : string * Nullable<DateTimeOffset> -> Microsoft.Azure.Storage.Blob.CloudBlob
Public Overridable Function GetBlobReference (blobName As String, snapshotTime As Nullable(Of DateTimeOffset)) As CloudBlob

Parameters

blobName
String

A string containing the name of the blob.

snapshotTime
Nullable<DateTimeOffset>

A DateTimeOffset specifying the snapshot timestamp, if the blob is a snapshot.

Returns

A CloudBlob object.

Applies to

GetBlobReference(String)

Gets a reference to a blob in this container.

public virtual Microsoft.Azure.Storage.Blob.CloudBlob GetBlobReference (string blobName);
abstract member GetBlobReference : string -> Microsoft.Azure.Storage.Blob.CloudBlob
override this.GetBlobReference : string -> Microsoft.Azure.Storage.Blob.CloudBlob
Public Overridable Function GetBlobReference (blobName As String) As CloudBlob

Parameters

blobName
String

A string containing the name of the blob.

Returns

A CloudBlob object.

Applies to