Getting list of names of Azure blob files in a container?

前端 未结 8 1652
醉酒成梦
醉酒成梦 2020-12-15 15:31

I need to list names of Azure Blob file names. Currently I m able to list all files with URL but I just need list of names. I want to avoid parsing names. Can you please see

8条回答
  •  猫巷女王i
    2020-12-15 16:09

    If you're using Windows Azure Storage 4.3.0, try this code.

    List blobNames = list.OfType().Select(b => b.Name).ToList();
    

提交回复
热议问题