NSAttributedString.GetAttribute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetAttribute(String, nint, NSRange) | |
GetAttribute(String, nint, NSRange, NSRange) |
GetAttribute(String, nint, NSRange)
[Foundation.Export("attribute:atIndex:effectiveRange:")]
public virtual Foundation.NSObject GetAttribute (string attribute, nint location, out Foundation.NSRange effectiveRange);
abstract member GetAttribute : string * nint * -> Foundation.NSObject
override this.GetAttribute : string * nint * -> Foundation.NSObject
參數
- attribute
- String
- location
- System.System.IntPtr System.nativeint
- effectiveRange
- NSRange
傳回
- 屬性
適用於
GetAttribute(String, nint, NSRange, NSRange)
[Foundation.Export("attribute:atIndex:longestEffectiveRange:inRange:")]
public virtual Foundation.NSObject GetAttribute (string attribute, nint location, out Foundation.NSRange longestEffectiveRange, Foundation.NSRange rangeLimit);
abstract member GetAttribute : string * nint * * Foundation.NSRange -> Foundation.NSObject
override this.GetAttribute : string * nint * * Foundation.NSRange -> Foundation.NSObject
參數
- attribute
- String
- location
- System.System.IntPtr System.nativeint
- longestEffectiveRange
- NSRange
- rangeLimit
- NSRange
傳回
- 屬性