Azure.Storage.BlobStorageAsync.ListBlobsInContainer C# (CSharp) Method

ListBlobsInContainer() public method

Returns a list of all the blobs in a container
public ListBlobsInContainer ( string containerName ) : IEnumerable
containerName string
return IEnumerable
        public IEnumerable<IListBlobItem> ListBlobsInContainer(string containerName)
        {
            Validate.BlobContainerName(containerName, "containerName");
            return cloudBlobContainer.ListBlobs(null, true).ToList();
        }