CacheEntryExtensions.SetSize(ICacheEntry, Int64) 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.
Sets the size of the cache entry value.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Caching::Memory::ICacheEntry ^ SetSize(Microsoft::Extensions::Caching::Memory::ICacheEntry ^ entry, long size);
public static Microsoft.Extensions.Caching.Memory.ICacheEntry SetSize (this Microsoft.Extensions.Caching.Memory.ICacheEntry entry, long size);
static member SetSize : Microsoft.Extensions.Caching.Memory.ICacheEntry * int64 -> Microsoft.Extensions.Caching.Memory.ICacheEntry
<Extension()>
Public Function SetSize (entry As ICacheEntry, size As Long) As ICacheEntry
Parameters
- entry
- ICacheEntry
The ICacheEntry.
- size
- Int64
The size to set on the entry
.
Returns
The ICacheEntry for chaining.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.