SCNLight.SetAttribute(NSObject, NSString) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Do not use; this method only exist in macOS, not in iOS.
将指定的特性设置为指定的值。
[Foundation.Export("setAttribute:forKey:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Obsolete("Do not use; this method only exist in macOS, not in iOS.", false)]
public virtual void SetAttribute (Foundation.NSObject value, Foundation.NSString attribuetKey);
[Foundation.Export("setAttribute:forKey:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetAttribute (Foundation.NSObject value, Foundation.NSString attribuetKey);
abstract member SetAttribute : Foundation.NSObject * Foundation.NSString -> unit
override this.SetAttribute : Foundation.NSObject * Foundation.NSString -> unit
参数
- value
- NSObject
- attribuetKey
- NSString
- 属性