Language

FSVolume.SetCacheState Method

Definition

[Foundation.Export("setCacheStateForItem:cacheMode:coherencyType:coherencyAction:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSError? SetCacheState(FSKit.FSItem item, FSKit.FSDataCacheMode cacheMode, FSKit.FSKernelCacheCoherencyType coherencyType, FSKit.FSKernelCacheCoherencyAction action);
[<Foundation.Export("setCacheStateForItem:cacheMode:coherencyType:coherencyAction:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetCacheState : FSKit.FSItem * FSKit.FSDataCacheMode * FSKit.FSKernelCacheCoherencyType * FSKit.FSKernelCacheCoherencyAction -> Foundation.NSError
override this.SetCacheState : FSKit.FSItem * FSKit.FSDataCacheMode * FSKit.FSKernelCacheCoherencyType * FSKit.FSKernelCacheCoherencyAction -> Foundation.NSError

Parameters

item
FSItem
cacheMode
FSDataCacheMode

Returns

Attributes

Applies to