Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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.
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
[<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)>]
type IJSVsaCodeItem = interface
interface IJSVsaItem
Public Interface IJSVsaCodeItem
Implements IJSVsaItem
CodeDOM |
Gets the code document object model (CodeDOM) represented in the code item. |
Is |
Returns a value indicating whether the current in-memory representation of the item differs from the persisted representation. (Inherited from IJSVsaItem) |
Item |
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) |
Source |
Gets or sets the text of a specified code item, including auto-generated code, if any. |
Add |
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. |
Append |
Appends specified text to the end of the code item. |
Get |
Gets implementation-specific options for a script engine. (Inherited from IJSVsaItem) |
Remove |
Removes the specified event source from the code item. |
Set |
Sets implementation-specific options for a script engine. (Inherited from IJSVsaItem) |
Product | Versions (Obsolete) |
---|---|
.NET Framework | (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) |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in