Bookmark.LanguageDetected Property

Gets or sets a value that indicates whether Microsoft Office Word has detected the language of the text in the Bookmark control.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property LanguageDetected As Boolean
bool LanguageDetected { get; set; }

Property Value

Type: System.Boolean
true if Microsoft Office Word has detected the language of the text in the Bookmark control; otherwise, false.

Remarks

Check the LanguageID property for the results of any previous language detection.

The LanguageDetected property is set to true when the DetectLanguage method is called. To reevaluate the language of the text, you must first set the LanguageDetected property to false.

.NET Framework Security

See Also

Reference

Bookmark Interface

Microsoft.Office.Tools.Word Namespace