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

FilesModelFactory.StorageFileInfo 方法

定义

创建用于模拟的新 StorageFileInfo 实例。

public static Azure.Storage.Files.Shares.Models.ShareFileInfo StorageFileInfo (Azure.ETag eTag, DateTimeOffset lastModified, bool isServerEncrypted, string filePermissionKey, string fileAttributes, DateTimeOffset fileCreationTime, DateTimeOffset fileLastWriteTime, DateTimeOffset fileChangeTime, string fileId, string fileParentId);
static member StorageFileInfo : Azure.ETag * DateTimeOffset * bool * string * string * DateTimeOffset * DateTimeOffset * DateTimeOffset * string * string -> Azure.Storage.Files.Shares.Models.ShareFileInfo
Public Shared Function StorageFileInfo (eTag As ETag, lastModified As DateTimeOffset, isServerEncrypted As Boolean, filePermissionKey As String, fileAttributes As String, fileCreationTime As DateTimeOffset, fileLastWriteTime As DateTimeOffset, fileChangeTime As DateTimeOffset, fileId As String, fileParentId As String) As ShareFileInfo

参数

eTag
ETag
lastModified
DateTimeOffset
isServerEncrypted
Boolean
filePermissionKey
String
fileAttributes
String
fileCreationTime
DateTimeOffset
fileLastWriteTime
DateTimeOffset
fileChangeTime
DateTimeOffset
fileId
String
fileParentId
String

返回

适用于