Navigation: Object Model Reference > Scripts Collection > Add Method |
|
Adds Script object for a new language to the collection.
Syntax
Scripts.Add(ByVal language As String, ByVal code As String = "") As IScript
Arguments
Scripts
Scripts collection
language
Required. Language of the script code. Names are compared without case sensitivity.
code
Optional. Script code.
Return Value
The new Script object. If the script already exists, its code is updated to the specified value.
See Also
Applies to Scripts collection