INSTextSelectionDataSource.GetTextRange 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.
[Foundation.Export("textRangeForSelectionGranularity:enclosingLocation:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.NSTextRange? GetTextRange(UIKit.NSTextSelectionGranularity selectionGranularity, UIKit.INSTextLocation location);
[<Foundation.Export("textRangeForSelectionGranularity:enclosingLocation:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextRange : UIKit.NSTextSelectionGranularity * UIKit.INSTextLocation -> UIKit.NSTextRange
override this.GetTextRange : UIKit.NSTextSelectionGranularity * UIKit.INSTextLocation -> UIKit.NSTextRange
Parameters
- selectionGranularity
- NSTextSelectionGranularity
- location
- INSTextLocation
Returns
- Attributes