共用方式為


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

傳回

屬性

適用於