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

Definition

Returns an enumerable collection of the blobs in the container that are retrieved lazily.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.IListBlobItem> ListBlobs (string prefix = null, bool useFlatBlobListing = false, Microsoft.WindowsAzure.Storage.Blob.BlobListingDetails blobListingDetails = Microsoft.WindowsAzure.Storage.Blob.BlobListingDetails.None, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null);
abstract member ListBlobs : 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 : string * bool * Microsoft.WindowsAzure.Storage.Blob.BlobListingDetails * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> seq<Microsoft.WindowsAzure.Storage.Blob.IListBlobItem>
Parameters
prefix
String String

A string containing the blob name prefix.

useFlatBlobListing
Boolean Boolean

A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory.

blobListingDetails
BlobListingDetails BlobListingDetails

A BlobListingDetails enumeration describing which items to include in the listing.

options
BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

An enumerable collection of objects that implement IListBlobItem and are retrieved lazily.

Applies to