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