Share via


AccessCondition.GenerateIfModifiedSinceCondition(DateTimeOffset) Method

Definition

Constructs an access condition such that an operation will be performed only if the resource has been modified since the specified time.

public static Microsoft.Azure.Storage.AccessCondition GenerateIfModifiedSinceCondition (DateTimeOffset modifiedTime);
static member GenerateIfModifiedSinceCondition : DateTimeOffset -> Microsoft.Azure.Storage.AccessCondition
Public Shared Function GenerateIfModifiedSinceCondition (modifiedTime As DateTimeOffset) As AccessCondition

Parameters

modifiedTime
DateTimeOffset

A DateTimeOffset value specifying the time since which the resource must have been modified.

Returns

An AccessCondition object that represents the If-Modified-Since condition.

Applies to