Range.LanguageDetected Property 

Returns or sets a value that specifies whether Microsoft Word has detected the language of the specified text.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim range1 As Range

Dim returnValue As Boolean
returnValue = range1.LanguageDetected

Dim sampleValue As Boolean
range1.LanguageDetected = sampleValue

Syntax

Property LanguageDetected() As Boolean
bool LanguageDetected {get; set;}
property Boolean LanguageDetected{
    Boolean get();
    Void set(Boolean);
}
public boolean get_LanguageDetected();
public void set_LanguageDetected(boolean);
function get LanguageDetected() : Boolean;
function set LanguageDetected(Boolean);

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 specified text, you must first set the LanguageDetected property to False.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Range Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Range Members