DocumentLanguage Class 
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.
An object representing the detected language for a given text span.
public class DocumentLanguage
	type DocumentLanguage = class
	Public Class DocumentLanguage
		- Inheritance
 - 
				DocumentLanguage
 
Properties
| Confidence | 
		 Confidence of correctly identifying the language.  | 
        	
| Locale | 
		 Detected language. Value may an ISO 639-1 language code (ex. "en", "fr") or BCP 47 language tag (ex. "zh-Hans").  | 
        	
| Spans | 
		 Location of the text elements in the concatenated content the language applies to.  |