Partilhar via


IStreamStorage<TKey>.GetTimestamp(TKey, TimestampKind) Method

Definition

Gets the timestamp for an existing Stream in the storage.

public:
 DateTime GetTimestamp(TKey key, Microsoft::VisualStudio::Utilities::TimestampKind kind);
public DateTime GetTimestamp (TKey key, Microsoft.VisualStudio.Utilities.TimestampKind kind);
abstract member GetTimestamp : 'Key * Microsoft.VisualStudio.Utilities.TimestampKind -> DateTime
Public Function GetTimestamp (key As TKey, kind As TimestampKind) As DateTime

Parameters

key
TKey

Key to the existing stream.

kind
TimestampKind

The kind of timestamp to return

Returns

The timestamp

Applies to