MemoryCacheEntryExtensions.SetSize(MemoryCacheEntryOptions, Int64) メソッド
定義
キャッシュ エントリ値のサイズを設定します。Sets the size of the cache entry value.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Caching::Memory::MemoryCacheEntryOptions ^ SetSize(Microsoft::Extensions::Caching::Memory::MemoryCacheEntryOptions ^ options, long size);
public static Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions SetSize (this Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options, long size);
static member SetSize : Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions * int64 -> Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions
<Extension()>
Public Function SetSize (options As MemoryCacheEntryOptions, size As Long) As MemoryCacheEntryOptions
パラメーター
- options
- MemoryCacheEntryOptions
エントリのサイズを設定するオプション。The options to set the entry size on.
- size
- Int64
MemoryCacheEntryOptions に設定するサイズ。The size to set on the MemoryCacheEntryOptions.
戻り値
追加の呼び出しをチェーンできるようにする MemoryCacheEntryOptions。The MemoryCacheEntryOptions so that additional calls can be chained.