Analyzes the text of the Bookmark control to determine the language that it is written in.
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
The results of the method are stored in the LanguageID property on a character-by-character basis.
If the method has already been applied to the Bookmark control, the LanguageDetected property is set to true. To re-evaluate the language of the text of the Bookmark control, you must first set LanguageDetected property to false.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.