NSAttributedString.GetRange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetRange(NSTextBlock, nuint) | |
GetRange(NSTextList, nuint) | |
GetRange(NSTextTable, nuint) |
GetRange(NSTextBlock, nuint)
[Foundation.Export("rangeOfTextBlock:atIndex:")]
public virtual Foundation.NSRange GetRange (AppKit.NSTextBlock textBlock, nuint index);
abstract member GetRange : AppKit.NSTextBlock * nuint -> Foundation.NSRange
override this.GetRange : AppKit.NSTextBlock * nuint -> Foundation.NSRange
参数
- textBlock
- NSTextBlock
- index
- System.System.UIntPtr System.unativeint
返回
- 属性
适用于
GetRange(NSTextList, nuint)
[Foundation.Export("rangeOfTextList:atIndex:")]
public virtual Foundation.NSRange GetRange (AppKit.NSTextList textList, nuint index);
abstract member GetRange : AppKit.NSTextList * nuint -> Foundation.NSRange
override this.GetRange : AppKit.NSTextList * nuint -> Foundation.NSRange
参数
- textList
- NSTextList
- index
- System.System.UIntPtr System.unativeint
返回
- 属性
适用于
GetRange(NSTextTable, nuint)
[Foundation.Export("rangeOfTextTable:atIndex:")]
public virtual Foundation.NSRange GetRange (AppKit.NSTextTable textTable, nuint index);
abstract member GetRange : AppKit.NSTextTable * nuint -> Foundation.NSRange
override this.GetRange : AppKit.NSTextTable * nuint -> Foundation.NSRange
参数
- textTable
- NSTextTable
- index
- System.System.UIntPtr System.unativeint
返回
- 属性