VsaCodeItem Class
Definition
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 ref class VsaCodeItem : Microsoft::VisualBasic::Vsa::VsaItem, Microsoft::Vsa::IVsaCodeItem
public class VsaCodeItem : Microsoft.VisualBasic.Vsa.VsaItem, Microsoft.Vsa.IVsaCodeItem
[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.")]
public class VsaCodeItem : Microsoft.VisualBasic.Vsa.VsaItem, Microsoft.Vsa.IVsaCodeItem
type VsaCodeItem = class
inherit VsaItem
interface IVsaCodeItem
interface IVsaItem
[<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.")>]
type VsaCodeItem = class
inherit VsaItem
interface IVsaCodeItem
interface IVsaItem
Public Class VsaCodeItem
Inherits VsaItem
Implements IVsaCodeItem
- Inheritance
- Attributes
- Implements
Constructors
VsaCodeItem(IVsaCodeItem) |
Properties
_item | (Inherited from VsaItem) |
CodeDOM |
Gets the code document object model (CodeDOM) represented in the code item. |
IsDirty |
Gets a value indicating whether the current in-memory representation of the item differs from the persisted representation. (Inherited from VsaItem) |
ItemType |
Gets the specified object's type, as determined by the CreateItem(String, VsaItemType, VsaItemFlag) method. (Inherited from VsaItem) |
Name |
Gets or sets the name of the item. (Inherited from VsaItem) |
SourceText |
Gets or sets the text of a specified code item, including auto-generated code, if any. |
Methods
AddEventSource(String, String) |
Adds an event source to the code item. |
AppendSourceText(String) |
Appends the specified text to the end of the code item. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetOption(String) |
Gets implementation-specific options for a script engine. (Inherited from VsaItem) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
RemoveEventSource(String) |
Removes the specified event source from the code item. |
SetOption(String, Object) |
Sets implementation-specific options for a script engine. (Inherited from VsaItem) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |