NSLayoutManager.AddTemporaryAttribute 方法

定义

重载

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
属性

适用于