FilesModelFactory.StorageFileDownloadInfo 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.
Creates a new StorageFileDownloadInfo instance for mocking.
public static Azure.Storage.Files.Shares.Models.ShareFileDownloadInfo StorageFileDownloadInfo (DateTimeOffset lastModified = default, System.Collections.Generic.IEnumerable<string> contentLanguage = default, string acceptRanges = default, DateTimeOffset copyCompletionTime = default, string copyStatusDescription = default, string contentDisposition = default, string copyProgress = default, Uri copySource = default, Azure.Storage.Files.Shares.Models.CopyStatus copyStatus = Azure.Storage.Files.Shares.Models.CopyStatus.Pending, byte[] fileContentHash = default, bool isServerEncrypted = false, string cacheControl = default, string fileAttributes = default, System.Collections.Generic.IEnumerable<string> contentEncoding = default, DateTimeOffset fileCreationTime = default, byte[] contentHash = default, DateTimeOffset fileLastWriteTime = default, Azure.ETag eTag = default, DateTimeOffset fileChangeTime = default, string contentRange = default, string filePermissionKey = default, string contentType = default, string fileId = default, long contentLength = 0, string fileParentId = default, System.Collections.Generic.IDictionary<string,string> metadata = default, System.IO.Stream content = default, string copyId = default);
static member StorageFileDownloadInfo : DateTimeOffset * seq<string> * string * DateTimeOffset * string * string * string * Uri * Azure.Storage.Files.Shares.Models.CopyStatus * byte[] * bool * string * string * seq<string> * DateTimeOffset * byte[] * DateTimeOffset * Azure.ETag * DateTimeOffset * string * string * string * string * int64 * string * System.Collections.Generic.IDictionary<string, string> * System.IO.Stream * string -> Azure.Storage.Files.Shares.Models.ShareFileDownloadInfo
Public Shared Function StorageFileDownloadInfo (Optional lastModified As DateTimeOffset = Nothing, Optional contentLanguage As IEnumerable(Of String) = Nothing, Optional acceptRanges As String = Nothing, Optional copyCompletionTime As DateTimeOffset = Nothing, Optional copyStatusDescription As String = Nothing, Optional contentDisposition As String = Nothing, Optional copyProgress As String = Nothing, Optional copySource As Uri = Nothing, Optional copyStatus As CopyStatus = Azure.Storage.Files.Shares.Models.CopyStatus.Pending, Optional fileContentHash As Byte() = Nothing, Optional isServerEncrypted As Boolean = false, Optional cacheControl As String = Nothing, Optional fileAttributes As String = Nothing, Optional contentEncoding As IEnumerable(Of String) = Nothing, Optional fileCreationTime As DateTimeOffset = Nothing, Optional contentHash As Byte() = Nothing, Optional fileLastWriteTime As DateTimeOffset = Nothing, Optional eTag As ETag = Nothing, Optional fileChangeTime As DateTimeOffset = Nothing, Optional contentRange As String = Nothing, Optional filePermissionKey As String = Nothing, Optional contentType As String = Nothing, Optional fileId As String = Nothing, Optional contentLength As Long = 0, Optional fileParentId As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional content As Stream = Nothing, Optional copyId As String = Nothing) As ShareFileDownloadInfo
Parameters
- lastModified
- DateTimeOffset
- contentLanguage
- IEnumerable<String>
- acceptRanges
- String
- copyCompletionTime
- DateTimeOffset
- copyStatusDescription
- String
- contentDisposition
- String
- copyProgress
- String
- copySource
- Uri
- copyStatus
- CopyStatus
- fileContentHash
- Byte[]
- isServerEncrypted
- Boolean
- cacheControl
- String
- fileAttributes
- String
- contentEncoding
- IEnumerable<String>
- fileCreationTime
- DateTimeOffset
- contentHash
- Byte[]
- fileLastWriteTime
- DateTimeOffset
- eTag
- ETag
- fileChangeTime
- DateTimeOffset
- contentRange
- String
- filePermissionKey
- String
- contentType
- String
- fileId
- String
- contentLength
- Int64
- fileParentId
- String
- metadata
- IDictionary<String,String>
- content
- Stream
- copyId
- String
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET