NSAttributedString.GetRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetRange(NSTextBlock, UIntPtr) | |
| GetRange(NSTextList, UIntPtr) | |
| GetRange(NSTextTable, UIntPtr) |
GetRange(NSTextBlock, UIntPtr)
[Foundation.Export("rangeOfTextBlock:atIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSRange GetRange(AppKit.NSTextBlock textBlock, UIntPtr index);
[<Foundation.Export("rangeOfTextBlock:atIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetRange : AppKit.NSTextBlock * unativeint -> Foundation.NSRange
override this.GetRange : AppKit.NSTextBlock * unativeint -> Foundation.NSRange
Parameters
- textBlock
- NSTextBlock
- index
-
UIntPtr
unativeint
Returns
- Attributes
Applies to
GetRange(NSTextList, UIntPtr)
[Foundation.Export("rangeOfTextList:atIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSRange GetRange(AppKit.NSTextList textList, UIntPtr index);
[<Foundation.Export("rangeOfTextList:atIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetRange : AppKit.NSTextList * unativeint -> Foundation.NSRange
override this.GetRange : AppKit.NSTextList * unativeint -> Foundation.NSRange
Parameters
- textList
- NSTextList
- index
-
UIntPtr
unativeint
Returns
- Attributes
Applies to
GetRange(NSTextTable, UIntPtr)
[Foundation.Export("rangeOfTextTable:atIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSRange GetRange(AppKit.NSTextTable textTable, UIntPtr index);
[<Foundation.Export("rangeOfTextTable:atIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetRange : AppKit.NSTextTable * unativeint -> Foundation.NSRange
override this.GetRange : AppKit.NSTextTable * unativeint -> Foundation.NSRange
Parameters
- textTable
- NSTextTable
- index
-
UIntPtr
unativeint
Returns
- Attributes