CacheItemKey.WithVersion(ReadOnlyMemory<Byte>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.