共用方式為


IStreamStorage<TKey>.SetTimestamp(TKey, TimestampKind, DateTime) Method

Definition

Sets the timestamp for an existing Stream in the storage.

public:
 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
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

Applies to