IStorageBlobManagement.ListBlobs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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>
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
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>
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
- options
- BlobRequestOptions
- operationContext
- OperationContext