Navigation:  Object Model Reference > Scripts Collection >

Remove Method

Previous pageReturn to chapter overviewNext page

Removes a Script object for a given language from the collection.

 

Note: Any references to the script should be disposed of (Set objScript = Nothing) before removing.

 

Syntax

 

Scripts.Remove(ByVal language As String) As Boolean

 

Arguments

 

Scripts

       Scripts collection

 

language

       Required.  Language of the script code.  Names are compared without case sensitivity.

 

code

       Optional.  Script code.

 

Return Value

       True if the script was found and removed or False if the script was not found.

 

See Also

 

Applies to Scripts collection