NSCache.SetCost(NSObject, NSObject, nuint) 方法

定义

[Foundation.Export("setObject:forKey:cost:")]
public virtual void SetCost (Foundation.NSObject obj, Foundation.NSObject key, nuint cost);
abstract member SetCost : Foundation.NSObject * Foundation.NSObject * nuint -> unit
override this.SetCost : Foundation.NSObject * Foundation.NSObject * nuint -> unit

参数

obj
NSObject
key
NSObject
cost
System.System.UIntPtr System.unativeint
属性

适用于