NLTagger.GetTokenRange(nuint, NSString) 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.
Returns the lexical range of the unit
that contains the spcified characterIndex
.
[Foundation.Export("tokenRangeAtIndex:unit:")]
public virtual Foundation.NSRange GetTokenRange (nuint characterIndex, Foundation.NSString unit);
abstract member GetTokenRange : nuint * Foundation.NSString -> Foundation.NSRange
override this.GetTokenRange : nuint * Foundation.NSString -> Foundation.NSRange
Parameters
- characterIndex
- System.System.UIntPtr System.unativeint
A character index for the desired range.
- unit
- NSString
The unit, which covers the characterIndex
, whose range to get.
Returns
The lexical range of the unit
that contains the spcified characterIndex
.
- Attributes