NLTagger.SetLanguage 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
SetLanguage(NSString, NSRange) |
Sets the language for the specified range. |
SetLanguage(NLLanguage, NSRange) |
Sets the language for the specified range. |
SetLanguage(NSString, NSRange)
Sets the language for the specified range.
[Foundation.Export("setLanguage:range:")]
public virtual void SetLanguage (Foundation.NSString language, Foundation.NSRange range);
abstract member SetLanguage : Foundation.NSString * Foundation.NSRange -> unit
override this.SetLanguage : Foundation.NSString * Foundation.NSRange -> unit
Parameters
- language
- NSString
The new language value.
- range
- NSRange
The range to which to apply the change.
- Attributes
Applies to
SetLanguage(NLLanguage, NSRange)
Sets the language for the specified range.
public void SetLanguage (NaturalLanguage.NLLanguage language, Foundation.NSRange range);
member this.SetLanguage : NaturalLanguage.NLLanguage * Foundation.NSRange -> unit
Parameters
- language
- NLLanguage
The new language value.
- range
- NSRange
The range to which to apply the change.