NSLayoutManager.AddTemporaryAttribute 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddTemporaryAttribute(NSString, NSObject, NSRange) |
已过时.
|
AddTemporaryAttribute(String, NSObject, NSRange) |
已过时.
|
AddTemporaryAttribute(NSString, NSObject, NSRange)
注意
Always throw a 'NotSupportedException' (only available on macOS).
[System.Obsolete("Always throw a 'NotSupportedException' (only available on macOS).")]
public void AddTemporaryAttribute (Foundation.NSString attributeName, Foundation.NSObject value, Foundation.NSRange characterRange);
member this.AddTemporaryAttribute : Foundation.NSString * Foundation.NSObject * Foundation.NSRange -> unit
参数
- attributeName
- NSString
- value
- NSObject
- characterRange
- NSRange
- 属性
适用于
AddTemporaryAttribute(String, NSObject, NSRange)
注意
Always throw a 'NotSupportedException' (only available on macOS).
[System.Obsolete("Always throw a 'NotSupportedException' (only available on macOS).")]
public virtual void AddTemporaryAttribute (string attributeName, Foundation.NSObject value, Foundation.NSRange characterRange);
abstract member AddTemporaryAttribute : string * Foundation.NSObject * Foundation.NSRange -> unit
override this.AddTemporaryAttribute : string * Foundation.NSObject * Foundation.NSRange -> unit
参数
- attributeName
- String
- value
- NSObject
- characterRange
- NSRange
- 属性