IVsaCodeItem Members
Include Protected Members
Include Inherited Members
Represents a code item to be compiled by the script engine.
The IVsaCodeItem type exposes the following members.
Methods
Name | Description | |
---|---|---|
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. | |
AppendSourceText | Appends specified text to the end of the code item. | |
GetOption | Gets implementation-specific options for a script engine. (Inherited from IVsaItem.) | |
RemoveEventSource | Removes the specified event source from the code item. | |
SetOption | Sets implementation-specific options for a script engine. (Inherited from IVsaItem.) |
Top
Properties
Name | Description | |
---|---|---|
CodeDOM | Gets the code document object model (CodeDOM) represented in the code item. | |
IsDirty | Returns a value indicating whether the current in-memory representation of the item differs from the persisted representation. (Inherited from IVsaItem.) | |
ItemType | Gets the specified object's type, as determined by the IVsaItems.CreateItem Method method. (Inherited from IVsaItem.) | |
Name | Sets or gets the name of the item. (Inherited from IVsaItem.) | |
SourceText | Sets or gets the text of a specified code item, including auto-generated code, if any. |
Top