共用方式為


AccessCondition.GenerateIfMatchCondition(String) Method

Definition

Constructs an access condition such that an operation will be performed only if the resource's ETag value matches the specified ETag value.

public static Microsoft.Azure.Storage.AccessCondition GenerateIfMatchCondition (string etag);
static member GenerateIfMatchCondition : string -> Microsoft.Azure.Storage.AccessCondition
Public Shared Function GenerateIfMatchCondition (etag As String) As AccessCondition

Parameters

etag
String

The ETag value to check against the resource's ETag.

Returns

An AccessCondition object that represents the If-Match condition.

Applies to