你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FilesModelFactory.StorageFileProperties 方法

定义

创建新的 StorageFileProperties 实例进行模拟。

public static Azure.Storage.Files.Shares.Models.ShareFileProperties StorageFileProperties (DateTimeOffset lastModified, System.Collections.Generic.IDictionary<string,string> metadata, long contentLength, string contentType, Azure.ETag eTag, byte[] contentHash, System.Collections.Generic.IEnumerable<string> contentEncoding, string cacheControl, string contentDisposition, System.Collections.Generic.IEnumerable<string> contentLanguage, DateTimeOffset copyCompletedOn, string copyStatusDescription, string copyId, string copyProgress, string copySource, Azure.Storage.Files.Shares.Models.CopyStatus copyStatus, bool isServerEncrypted, string fileAttributes, DateTimeOffset fileCreationTime, DateTimeOffset fileLastWriteTime, DateTimeOffset fileChangeTime, string filePermissionKey, string fileId, string fileParentId);
static member StorageFileProperties : DateTimeOffset * System.Collections.Generic.IDictionary<string, string> * int64 * string * Azure.ETag * byte[] * seq<string> * string * string * seq<string> * DateTimeOffset * string * string * string * string * Azure.Storage.Files.Shares.Models.CopyStatus * bool * string * DateTimeOffset * DateTimeOffset * DateTimeOffset * string * string * string -> Azure.Storage.Files.Shares.Models.ShareFileProperties
Public Shared Function StorageFileProperties (lastModified As DateTimeOffset, metadata As IDictionary(Of String, String), contentLength As Long, contentType As String, eTag As ETag, contentHash As Byte(), contentEncoding As IEnumerable(Of String), cacheControl As String, contentDisposition As String, contentLanguage As IEnumerable(Of String), copyCompletedOn As DateTimeOffset, copyStatusDescription As String, copyId As String, copyProgress As String, copySource As String, copyStatus As CopyStatus, isServerEncrypted As Boolean, fileAttributes As String, fileCreationTime As DateTimeOffset, fileLastWriteTime As DateTimeOffset, fileChangeTime As DateTimeOffset, filePermissionKey As String, fileId As String, fileParentId As String) As ShareFileProperties

参数

lastModified
DateTimeOffset
contentLength
Int64
contentType
String
eTag
ETag
contentHash
Byte[]
contentEncoding
IEnumerable<String>
cacheControl
String
contentDisposition
String
contentLanguage
IEnumerable<String>
copyCompletedOn
DateTimeOffset
copyStatusDescription
String
copyId
String
copyProgress
String
copySource
String
copyStatus
CopyStatus
isServerEncrypted
Boolean
fileAttributes
String
fileCreationTime
DateTimeOffset
fileLastWriteTime
DateTimeOffset
fileChangeTime
DateTimeOffset
filePermissionKey
String
fileId
String
fileParentId
String

返回

适用于