ShareModelFactory.ShareItem 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 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
- versionId
- String
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET