다음을 통해 공유


CacheEntryExtensions.SetSize(ICacheEntry, Int64) 메서드

정의

캐시 항목 값의 크기를 설정합니다.

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

매개 변수

size
Int64

entry에서 설정할 크기입니다.

반환

연결할 ICacheEntry입니다.

적용 대상