次の方法で共有


CacheEntryExtensions.SetOptions(ICacheEntry, MemoryCacheEntryOptions) メソッド

定義

既存の MemoryCacheEntryOptions の値をエントリに適用します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Caching::Memory::ICacheEntry ^ SetOptions(Microsoft::Extensions::Caching::Memory::ICacheEntry ^ entry, Microsoft::Extensions::Caching::Memory::MemoryCacheEntryOptions ^ options);
public static Microsoft.Extensions.Caching.Memory.ICacheEntry SetOptions (this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions options);
static member SetOptions : Microsoft.Extensions.Caching.Memory.ICacheEntry * Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions -> Microsoft.Extensions.Caching.Memory.ICacheEntry
<Extension()>
Public Function SetOptions (entry As ICacheEntry, options As MemoryCacheEntryOptions) As ICacheEntry

パラメーター

options
MemoryCacheEntryOptions

これらのオプションの値を entry に設定します。

戻り値

チェーン用の ICacheEntry

適用対象