IJSVsaCodeItem IJSVsaCodeItem IJSVsaCodeItem IJSVsaCodeItem Interface

Definition

Warning

This API is now obsolete.

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

public interface class IJSVsaCodeItem : Microsoft::JScript::Vsa::IJSVsaItem
[System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("528BBC87-CCDC-4F07-B29C-9B10575DEB2F")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IJSVsaCodeItem : Microsoft.JScript.Vsa.IJSVsaItem
type IJSVsaCodeItem = interface
    interface IJSVsaItem
Public Interface IJSVsaCodeItem
Implements IJSVsaItem
Derived
Attributes
Implements

Properties

CodeDOM CodeDOM CodeDOM CodeDOM

Gets the code document object model (CodeDOM) represented in the code item.

IsDirty IsDirty IsDirty IsDirty

Returns a value indicating whether the current in-memory representation of the item differs from the persisted representation.

(Inherited from IJSVsaItem)
ItemType ItemType ItemType ItemType

Gets the specified object's type, as determined by the CreateItem(String, JSVsaItemType, JSVsaItemFlag) method.

(Inherited from IJSVsaItem)
Name Name Name Name

Sets or gets the name of the item.

(Inherited from IJSVsaItem)
SourceText SourceText SourceText SourceText

Sets or gets the text of a specified code item, including auto-generated code, if any.

Methods

AddEventSource(String, String) AddEventSource(String, String) AddEventSource(String, String) AddEventSource(String, String)

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(String) AppendSourceText(String) AppendSourceText(String) AppendSourceText(String)

Appends specified text to the end of the code item.

GetOption(String) GetOption(String) GetOption(String) GetOption(String)

Gets implementation-specific options for a script engine.

(Inherited from IJSVsaItem)
RemoveEventSource(String) RemoveEventSource(String) RemoveEventSource(String) RemoveEventSource(String)

Removes the specified event source from the code item.

SetOption(String, Object) SetOption(String, Object) SetOption(String, Object) SetOption(String, Object)

Sets implementation-specific options for a script engine.

(Inherited from IJSVsaItem)

Applies to