Share via


Script.Language Property

Returns or sets the scripting language of the active script.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Property Language As MsoScriptLanguage
    Get
    Set
'Usage
Dim instance As Script
Dim value As MsoScriptLanguage

value = instance.Language

instance.Language = value
MsoScriptLanguage Language { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoScriptLanguage

Remarks

The MsoScriptLanguage constants used with the Language property are also used in the Language parameter in the Add method of the Scripts collection.

See Also

Reference

Script Interface

Script Members

Microsoft.Office.Core Namespace