azure-blob-storageazure-sdk-.net

What is the difference between a BlobClient and a BlobItem and BlobHierarchyItem.Blob in version 12 of Azure SDK?


I am trying to figure out the difference between when to use a BlobClient vs a BlobItem vs BlobHierarchyItem.Blob?


Solution

  • BlobClient is an object that allows you to do some operations on azure storage blobs.


    BlobItem is the Azure Storage blob object.


    BlobHierarchyItem.Blob is a Property, and the type is BlobItem.

    public Azure.Storage.Blobs.Models.BlobItem Blob { get; }