Share via


NLTokenizer.GetTokens(NSRange) Method

Definition

Tokenizes the specified range of text.

[Foundation.Export("tokensForRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSValue[] GetTokens(Foundation.NSRange range);
[<Foundation.Export("tokensForRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTokens : Foundation.NSRange -> Foundation.NSValue[]
override this.GetTokens : Foundation.NSRange -> Foundation.NSValue[]

Parameters

range
NSRange

The range for which to return all tokens.

Returns

Tokens for the specified range.

Attributes

Applies to