Megosztás a következőn keresztül:


BlobsModelFactory.BlobItem Method

Definition

Creates a new BlobItem instance for mocking.

public static Azure.Storage.Blobs.Models.BlobItem BlobItem (string name = default, bool deleted = false, Azure.Storage.Blobs.Models.BlobItemProperties properties = default, string snapshot = default, string versionId = default, bool? isLatestVersion = default, System.Collections.Generic.IDictionary<string,string> metadata = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.List<Azure.Storage.Blobs.Models.ObjectReplicationPolicy> objectReplicationSourcePolicies = default, bool? hasVersionsOnly = default);
static member BlobItem : string * bool * Azure.Storage.Blobs.Models.BlobItemProperties * string * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.List<Azure.Storage.Blobs.Models.ObjectReplicationPolicy> * Nullable<bool> -> Azure.Storage.Blobs.Models.BlobItem
Public Shared Function BlobItem (Optional name As String = Nothing, Optional deleted As Boolean = false, Optional properties As BlobItemProperties = Nothing, Optional snapshot As String = Nothing, Optional versionId As String = Nothing, Optional isLatestVersion As Nullable(Of Boolean) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional objectReplicationSourcePolicies As List(Of ObjectReplicationPolicy) = Nothing, Optional hasVersionsOnly As Nullable(Of Boolean) = Nothing) As BlobItem

Parameters

name
String
deleted
Boolean
properties
BlobItemProperties
snapshot
String
versionId
String
isLatestVersion
Nullable<Boolean>
objectReplicationSourcePolicies
List<ObjectReplicationPolicy>
hasVersionsOnly
Nullable<Boolean>

Returns

Applies to