Share via


BlobBaseClient.WithVersion(String) Method

Definition

Initializes a new instance of the BlobBaseClient class with an identical Uri source but the specified versionId timestamp.

public virtual Azure.Storage.Blobs.Specialized.BlobBaseClient WithVersion (string versionId);
abstract member WithVersion : string -> Azure.Storage.Blobs.Specialized.BlobBaseClient
override this.WithVersion : string -> Azure.Storage.Blobs.Specialized.BlobBaseClient
Public Overridable Function WithVersion (versionId As String) As BlobBaseClient

Parameters

versionId
String

The version identifier.

Returns

A new BlobBaseClient instance.

Remarks

Pass null or empty string to remove the version returning a URL to the base blob.

Applies to