IJSVsaCodeItem Interface

.NET Framework (current version)
 
Note: This API is now obsolete.

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

Namespace:   Microsoft.JScript.Vsa
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

[GuidAttribute("528BBC87-CCDC-4F07-B29C-9B10575DEB2F")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ObsoleteAttribute("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.")]
[ComVisibleAttribute(true)]
public interface class IJSVsaCodeItem : IJSVsaItem

NameDescription
System_CAPS_pubpropertyCodeDOM

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

System_CAPS_pubpropertyIsDirty

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

System_CAPS_pubpropertyItemType

Gets the specified object's type, as determined by the CreateItem method.(Inherited from IJSVsaItem.)

System_CAPS_pubpropertyName

Sets or gets the name of the item.(Inherited from IJSVsaItem.)

System_CAPS_pubpropertySourceText

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

NameDescription
System_CAPS_pubmethodAddEventSource(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.

System_CAPS_pubmethodAppendSourceText(String^)

Appends specified text to the end of the code item.

System_CAPS_pubmethodGetOption(String^)

Gets implementation-specific options for a script engine.(Inherited from IJSVsaItem.)

System_CAPS_pubmethodRemoveEventSource(String^)

Removes the specified event source from the code item.

System_CAPS_pubmethodSetOption(String^, Object^)

Sets implementation-specific options for a script engine.(Inherited from IJSVsaItem.)

.NET Framework
Available since 4.0
Return to top
Show: