NSTextView.GetAttributedSubstring 方法

定义

重载

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

返回

属性

适用于