Share via


NSCache.SetCost(NSObject, NSObject, UIntPtr) Method

Definition

[Foundation.Export("setObject:forKey:cost:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetCost(Foundation.NSObject obj, Foundation.NSObject key, UIntPtr cost);
[<Foundation.Export("setObject:forKey:cost:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetCost : Foundation.NSObject * Foundation.NSObject * unativeint -> unit
override this.SetCost : Foundation.NSObject * Foundation.NSObject * unativeint -> unit

Parameters

obj
NSObject
key
NSObject
cost
UIntPtr

unativeint

Attributes

Applies to