Visual Basic Extensibility Reference

AddFromString Method

See Also Example Applies To Specifics

Adds text to a module.



The object placeholder is an object expression that evaluates to an object in the Applies To list.


The AddFromString method inserts the text starting on the line preceding the first procedure in the module. If the module doesn't contain procedures, AddFromString places the text at the end of the module.