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