Bewerken

Delen via


Dictionary.LanguageID Property

Definition

Returns or sets the language for the specified object.

public:
 property Microsoft::Office::Interop::Word::WdLanguageID LanguageID { Microsoft::Office::Interop::Word::WdLanguageID get(); void set(Microsoft::Office::Interop::Word::WdLanguageID value); };
public Microsoft.Office.Interop.Word.WdLanguageID LanguageID { get; set; }
member this.LanguageID : Microsoft.Office.Interop.Word.WdLanguageID with get, set
Public Property LanguageID As WdLanguageID

Property Value

Remarks

For a custom dictionary, you must first set the LanguageSpecific property to True before specifying the LanguageID property. Custom dictionaries that are language-specific only look at text formatted for that language.

The LanguageID property can be one of the WdLanguageID constants. Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

Applies to