共用方式為


IOSurface.SetAttachment(NSObject, NSString) 方法

定義

[Foundation.Export("setAttachment:forKey:")]
public virtual void SetAttachment (Foundation.NSObject anObject, Foundation.NSString key);
abstract member SetAttachment : Foundation.NSObject * Foundation.NSString -> unit
override this.SetAttachment : Foundation.NSObject * Foundation.NSString -> unit

參數

anObject
NSObject
key
NSString
屬性

適用於