Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_Document.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)

Dim _Document1 As _Document

Dim returnValue As Boolean
returnValue = _Document1.LanguageDetected

Dim sampleValue As Boolean
_Document1.LanguageDetected = sampleValue

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

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.

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

Development Platforms

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

Target Platforms