IVsaCodeItem Interface
Represents a code item to be compiled by the script engine.
public: _interface IVsaCodeItem : IVsaItem;
public interface IVsaCodeItem : IVsaItem;
Public Interface IVsaCodeItem, Implements IVsaItem
Properties
The following table shows the properties of the IVsaCodeItem interface.
Property |
Description |
---|---|
Gets the code document object model (CodeDOM) represented in the code item. |
|
Sets or gets the text of a specified code item, including auto-generated code, if any. |
Methods
The following table shows the methods of the IVsaCodeItem interface.
Method |
Description |
---|---|
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. |
|
Appends specified text to the end of the code item. |
|
Removes the specified event source from the code item. |
Remarks
The specified code item can contain classes, modules, or other source text.
No permissions are required for calling any members of the IVsaCodeItem interface.
The script engine implements this interface in order to add code items.
Requirements
DLL: Microsoft.Vsa.dll