IVsaCodeItem Members

Represents a code item to be compiled by the script engine.

The following tables list the members exposed by the IVsaCodeItem type.

  Name Description
Public property CodeDOM Gets the code document object model (CodeDOM) represented in the code item.
Public property SourceText Sets or gets the text of a specified code item, including auto-generated code, if any.

  Name Description
Public method AddEventSource Adds an event source to the code item. The code item uses the event source to hook up an event to the named event source by calling the IVsaSite.GetEventSourceInstance method, which is implemented by the host.
Public method AppendSourceText Appends specified text to the end of the code item.
Public method RemoveEventSource Removes the specified event source from the code item.

Community Additions