NSAttributedString.GetRange 方法

定义

重载

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

返回

属性

适用于