Class ListFilesAndDirectoriesResponse
- Namespace
- Microsoft.WindowsAzure.Storage.File.Protocol
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Provides methods for parsing the response from a file listing operation.
public sealed class ListFilesAndDirectoriesResponse : ResponseParsingBase<IListFileEntry>, IDisposable
- Inheritance
-
ListFilesAndDirectoriesResponse
- Implements
- Inherited Members
Constructors
ListFilesAndDirectoriesResponse(Stream)
Initializes a new instance of the ListFilesAndDirectoriesResponse class.
public ListFilesAndDirectoriesResponse(Stream stream)
Parameters
stream
StreamThe stream to be parsed.
Properties
Files
Gets an enumerable collection of objects that implement IListFileEntry from the response.
public IEnumerable<IListFileEntry> Files { get; }
Property Value
- IEnumerable<IListFileEntry>
An enumerable collection of objects that implement IListFileEntry.
ListingContext
Gets the listing context from the XML response.
public FileListingContext ListingContext { get; }
Property Value
- FileListingContext
A set of parameters for the listing operation.
Marker
Gets the Marker value provided for the listing operation from the XML response.
public string Marker { get; }
Property Value
- string
The Marker value.
MaxResults
Gets the MaxResults value provided for the listing operation from the XML response.
public int MaxResults { get; }
Property Value
- int
The MaxResults value.
NextMarker
Gets the NextMarker value from the XML response, if the listing was not complete.
public string NextMarker { get; }
Property Value
- string
The NextMarker value.
Methods
ParseXml()
Parses the response XML for a file listing operation.
protected override IEnumerable<IListFileEntry> ParseXml()
Returns
- IEnumerable<IListFileEntry>
An enumerable collection of objects that implement IListFileEntry.