Bookmark.LanguageDetected Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Property LanguageDetected As Boolean
'Usage
Dim instance As Bookmark
Dim value As Boolean
value = instance.LanguageDetected
instance.LanguageDetected = value
[BrowsableAttribute(false)]
public bool LanguageDetected { get; set; }
[BrowsableAttribute(false)]
public:
property bool LanguageDetected {
bool get ();
void set (bool value);
}
public function get LanguageDetected () : boolean
public function set LanguageDetected (value : boolean)
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
- 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.