CloudBlobDirectory.GetBlobReference Method

Definition

Overloads

GetBlobReference(String)

Gets a reference to a blob in this virtual directory.

GetBlobReference(String, Nullable<DateTimeOffset>)

Gets a reference to a blob in this virtual directory.

GetBlobReference(String)

Gets a reference to a blob in this virtual directory.

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

GetBlobReference(String, Nullable<DateTimeOffset>)

Gets a reference to a blob in this virtual directory.

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