NSAttributedString.GetRange Method

Definition

Overloads

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

Parameters

textBlock
NSTextBlock
index
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to

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

Parameters

textList
NSTextList
index
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to

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

Parameters

textTable
NSTextTable
index
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to