FilesModelFactory.ShareFileItem 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 StorageFileItem instance for mocking.
public static Azure.Storage.Files.Shares.Models.ShareFileItem ShareFileItem (bool isDirectory = false, string name = default, long? fileSize = default, string id = default, Azure.Storage.Files.Shares.Models.ShareFileItemProperties properties = default, Azure.Storage.Files.Shares.Models.NtfsFileAttributes? fileAttributes = default, string permissionKey = default);
static member ShareFileItem : bool * string * Nullable<int64> * string * Azure.Storage.Files.Shares.Models.ShareFileItemProperties * Nullable<Azure.Storage.Files.Shares.Models.NtfsFileAttributes> * string -> Azure.Storage.Files.Shares.Models.ShareFileItem
Public Shared Function ShareFileItem (Optional isDirectory As Boolean = false, Optional name As String = Nothing, Optional fileSize As Nullable(Of Long) = Nothing, Optional id As String = Nothing, Optional properties As ShareFileItemProperties = Nothing, Optional fileAttributes As Nullable(Of NtfsFileAttributes) = Nothing, Optional permissionKey As String = Nothing) As ShareFileItem
Parameters
- isDirectory
- Boolean
- name
- String
- id
- String
- properties
- ShareFileItemProperties
- fileAttributes
- Nullable<NtfsFileAttributes>
- permissionKey
- 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