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
傳回
- 屬性