FSVolume.SetCacheState 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.
[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
- coherencyType
- FSKernelCacheCoherencyType
- action
- FSKernelCacheCoherencyAction
Returns
- Attributes