共用方式為


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

適用於