NSTextView.GetAttributedSubstring 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetAttributedSubstring(NSRange) | |
GetAttributedSubstring(NSRange, NSRange) |
GetAttributedSubstring(NSRange)
[Foundation.Export("attributedSubstringFromRange:")]
public virtual Foundation.NSAttributedString GetAttributedSubstring (Foundation.NSRange range);
abstract member GetAttributedSubstring : Foundation.NSRange -> Foundation.NSAttributedString
override this.GetAttributedSubstring : Foundation.NSRange -> Foundation.NSAttributedString
参数
- range
- NSRange
返回
实现
- 属性
适用于
GetAttributedSubstring(NSRange, NSRange)
[Foundation.Export("attributedSubstringForProposedRange:actualRange:")]
public virtual Foundation.NSAttributedString GetAttributedSubstring (Foundation.NSRange proposedRange, out Foundation.NSRange actualRange);
abstract member GetAttributedSubstring : Foundation.NSRange * -> Foundation.NSAttributedString
override this.GetAttributedSubstring : Foundation.NSRange * -> Foundation.NSAttributedString
参数
- proposedRange
- NSRange
- actualRange
- NSRange
返回
- 属性