共用方式為


FileStreamStorage<TKey>.SetTimestamp Method

Definition

Sets the timestamp for an existing Stream in the storage.

public:
 virtual void SetTimestamp(TKey key, Microsoft::VisualStudio::Utilities::TimestampKind kind, DateTime timestamp);
public void SetTimestamp (TKey key, Microsoft.VisualStudio.Utilities.TimestampKind kind, DateTime timestamp);
abstract member SetTimestamp : 'Key * Microsoft.VisualStudio.Utilities.TimestampKind * DateTime -> unit
override this.SetTimestamp : 'Key * Microsoft.VisualStudio.Utilities.TimestampKind * DateTime -> unit
Public Sub SetTimestamp (key As TKey, kind As TimestampKind, timestamp As DateTime)

Parameters

key
TKey

Key to the existing stream.

kind
TimestampKind

The kind of timestamp to set

timestamp
DateTime

The timestamp to set on the stream

Implements

Applies to