IOSurface.SetAttachment(NSObject, NSString) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[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
- 属性