Share via


StorageBlobManagement.ListBlobs Method

Definition

Overloads

ListBlobs(CloudBlobContainer, String, Boolean, BlobListingDetails, BlobRequestOptions, OperationContext)

List all blobs in specified containers

ListBlobs(CloudBlobContainer, String, Boolean, BlobListingDetails, BlobRequestOptions, OperationContext)

ListBlobs(CloudBlobContainer, String, Boolean, BlobListingDetails, BlobRequestOptions, OperationContext)

List all blobs in specified containers

public System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.IListBlobItem> ListBlobs (Microsoft.Azure.Storage.Blob.CloudBlobContainer container, string prefix, bool useFlatBlobListing, Microsoft.Azure.Storage.Blob.BlobListingDetails blobListingDetails, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
abstract member ListBlobs : Microsoft.Azure.Storage.Blob.CloudBlobContainer * string * bool * Microsoft.Azure.Storage.Blob.BlobListingDetails * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.Blob.IListBlobItem>
override this.ListBlobs : Microsoft.Azure.Storage.Blob.CloudBlobContainer * string * bool * Microsoft.Azure.Storage.Blob.BlobListingDetails * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.Blob.IListBlobItem>
Public Function ListBlobs (container As CloudBlobContainer, prefix As String, useFlatBlobListing As Boolean, blobListingDetails As BlobListingDetails, options As BlobRequestOptions, operationContext As OperationContext) As IEnumerable(Of IListBlobItem)

Parameters

container
CloudBlobContainer

A CloudBlobContainer object

prefix
String

Blob prefix

useFlatBlobListing
Boolean

Use flat blob listing(whether treat "container/" as directory)

blobListingDetails
BlobListingDetails

Blob listing details

options
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

Returns

An enumerable collection of CloudBlob

Implements

Applies to

ListBlobs(CloudBlobContainer, String, Boolean, BlobListingDetails, BlobRequestOptions, OperationContext)

public System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.IListBlobItem> ListBlobs (Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer container, string prefix, bool useFlatBlobListing, Microsoft.WindowsAzure.Storage.Blob.BlobListingDetails blobListingDetails, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member ListBlobs : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * string * bool * Microsoft.WindowsAzure.Storage.Blob.BlobListingDetails * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> seq<Microsoft.WindowsAzure.Storage.Blob.IListBlobItem>
override this.ListBlobs : Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer * string * bool * Microsoft.WindowsAzure.Storage.Blob.BlobListingDetails * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> seq<Microsoft.WindowsAzure.Storage.Blob.IListBlobItem>
Public Function ListBlobs (container As CloudBlobContainer, prefix As String, useFlatBlobListing As Boolean, blobListingDetails As BlobListingDetails, options As BlobRequestOptions, operationContext As OperationContext) As IEnumerable(Of IListBlobItem)

Parameters

container
CloudBlobContainer
prefix
String
useFlatBlobListing
Boolean
blobListingDetails
BlobListingDetails
operationContext
OperationContext

Returns

Implements

Applies to