Share via


BlobClient.WithVersion(String) Method

Definition

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

public Azure.Storage.Blobs.BlobClient WithVersion (string versionId);
override this.WithVersion : string -> Azure.Storage.Blobs.BlobClient
Public Function WithVersion (versionId As String) As BlobClient

Parameters

versionId
String

The version identifier.

Returns

A new BlobClient instance.

Remarks

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

Applies to