Share via


CacheItemKey.WithVersion(ReadOnlyMemory<Byte>) Method

Definition

Initializes a new instance of the CacheItemKey struct with the specified value for Version.

public:
 Microsoft::VisualStudio::RpcContracts::Caching::CacheItemKey WithVersion(ReadOnlyMemory<System::Byte> version);
public Microsoft.VisualStudio.RpcContracts.Caching.CacheItemKey WithVersion (ReadOnlyMemory<byte> version);
member this.WithVersion : ReadOnlyMemory<byte> -> Microsoft.VisualStudio.RpcContracts.Caching.CacheItemKey
Public Function WithVersion (version As ReadOnlyMemory(Of Byte)) As CacheItemKey

Parameters

version
ReadOnlyMemory<Byte>

The new version value.

Returns

The new key.

Applies to