Condividi tramite


CloudFileDirectory.ListFilesAndDirectories Method

Definition

Overloads

ListFilesAndDirectories(String, FileRequestOptions, OperationContext)

Returns an enumerable collection of the files in the share, which are retrieved lazily.

ListFilesAndDirectories(FileRequestOptions, OperationContext)

Returns an enumerable collection of the files in the share, which are retrieved lazily.

ListFilesAndDirectories(String, FileRequestOptions, OperationContext)

Returns an enumerable collection of the files in the share, which are retrieved lazily.

[Microsoft.Azure.Storage.DoesServiceRequest]
public System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.File.IListFileItem> ListFilesAndDirectories (string prefix, Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
member this.ListFilesAndDirectories : string * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.File.IListFileItem>
Public Function ListFilesAndDirectories (prefix As String, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As IEnumerable(Of IListFileItem)

Parameters

prefix
String

A string containing the file or directory name prefix.

options
FileRequestOptions

An FileRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

Returns

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

Attributes

Applies to

ListFilesAndDirectories(FileRequestOptions, OperationContext)

Returns an enumerable collection of the files in the share, which are retrieved lazily.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.File.IListFileItem> ListFilesAndDirectories (Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListFilesAndDirectories : Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.File.IListFileItem>
override this.ListFilesAndDirectories : Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.File.IListFileItem>
Public Overridable Function ListFilesAndDirectories (Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As IEnumerable(Of IListFileItem)

Parameters

options
FileRequestOptions

An FileRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

Returns

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

Attributes

Applies to