共用方式為


ShareModelFactory.ShareItem Method

Definition

Creates a new ShareItem instance for mocking.

public static Azure.Storage.Files.Shares.Models.ShareItem ShareItem (string name, Azure.Storage.Files.Shares.Models.ShareProperties properties, string snapshot = default, bool? isDeleted = default, string versionId = default);
static member ShareItem : string * Azure.Storage.Files.Shares.Models.ShareProperties * string * Nullable<bool> * string -> Azure.Storage.Files.Shares.Models.ShareItem
Public Shared Function ShareItem (name As String, properties As ShareProperties, Optional snapshot As String = Nothing, Optional isDeleted As Nullable(Of Boolean) = Nothing, Optional versionId As String = Nothing) As ShareItem

Parameters

name
String
properties
ShareProperties
snapshot
String
isDeleted
Nullable<Boolean>
versionId
String

Returns

Applies to