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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET