Share via


View.Language Property

Returns or sets a String (string in C#) value that represents the language setting for the object that defines the language used in the menu. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property Language As String
    Get
    Set
'Usage
Dim instance As View
Dim value As String

value = instance.Language

instance.Language = value
[DispIdAttribute()]
string Language { get; set; }

Property Value

Type: System.String

Remarks

The Language property uses a String (string in C#) to represent an ISO language tag. For example, the string "EN-US" represents the ISO code for "United States - English."

If a valid language code is specified, the object will only be available in the View menu for the specified language type. If no value is specified, the object item is available for all language types. The default value for this property is an empty string.

See Also

Reference

View Interface

View Members

Microsoft.Office.Interop.Outlook Namespace