IVsaScriptCodeItem Interface

Definition

Defines extra functionality that is needed by an IActiveScript host.

This API supports the product infrastructure and is not intended to be used directly from your code.

[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("E0C0FFE8-7eea-4ee5-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaScriptCodeItem : Microsoft.Vsa.IVsaCodeItem
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("E0C0FFE8-7eea-4ee5-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaScriptCodeItem : Microsoft.JScript.Vsa.IJSVsaCodeItem
Attributes
Implements

Properties

CodeDOM

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

(Inherited from IJSVsaCodeItem)
IsDirty

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

(Inherited from IJSVsaItem)
ItemType

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

(Inherited from IJSVsaItem)
Name

Gets or sets the name of the item.

(Inherited from IJSVsaItem)
SourceText

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

(Inherited from IJSVsaCodeItem)
StartColumn

This API supports the product infrastructure and is not intended to be used directly from your code.

When implemented in a class, gets or sets the column number in the line where this code starts.

StartLine

This API supports the product infrastructure and is not intended to be used directly from your code.

When implemented in a class, gets or sets the line number where this code starts.

Methods

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.

(Inherited from IJSVsaCodeItem)
AppendSourceText(String)

Appends specified text to the end of the code item.

(Inherited from IJSVsaCodeItem)
Execute()

This API supports the product infrastructure and is not intended to be used directly from your code.

When implemented in a class, compiles and runs this code.

GetOption(String)

Gets implementation-specific options for a script engine.

(Inherited from IJSVsaItem)
RemoveEventSource(String)

Removes the specified event source from the code item.

(Inherited from IJSVsaCodeItem)
SetOption(String, Object)

Sets implementation-specific options for a script engine.

(Inherited from IJSVsaItem)

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also