VsaCodeItem 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 ref class VsaCodeItem : Microsoft::VisualBasic::Vsa::VsaItem, Microsoft::Vsa::IVsaCodeItempublic 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.IVsaCodeItemtype 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 IVsaItemPublic Class VsaCodeItem
Inherits VsaItem
Implements IVsaCodeItem- 继承
- 属性
- 实现
构造函数
| VsaCodeItem(IVsaCodeItem) | 
				已过时.
			 表示要通过脚本引擎编译的代码项。 | 
属性
| _item | 
		已过时.
	 表示要通过脚本引擎编译的代码项。(继承自 VsaItem) | 
| CodeDOM | 
				已过时.
			 获取在代码项中表示的代码文档对象模型 (CodeDOM)。 | 
| IsDirty | 
		已过时.
	 获得一个值,它指示该项的当前内存中表示形式是否与保留的表示形式不同。(继承自 VsaItem) | 
| ItemType | 
		已过时.
	 获取指定对象的类型(如 CreateItem(String, VsaItemType, VsaItemFlag) 方法所确定的那样)。(继承自 VsaItem) | 
| Name | 
		已过时.
	 获取或设置项的名称。(继承自 VsaItem) | 
| SourceText | 
				已过时.
			 获取或设置指定的代码项的文本,包括自动生成的代码(如果有)。 | 
方法
| AddEventSource(String, String) | 
				已过时.
			 将事件源添加到代码项中。 | 
| AppendSourceText(String) | 
				已过时.
			 将指定的文本追加到代码项的结尾。 | 
| Equals(Object) | 
		已过时.
	 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetHashCode() | 
		已过时.
	 作为默认哈希函数。(继承自 Object) | 
| GetOption(String) | 
		已过时.
	 获取脚本引擎实现特定的选项。(继承自 VsaItem) | 
| GetType() | 
		已过时.
	 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 
		已过时.
	 创建当前 Object 的浅表副本。(继承自 Object) | 
| RemoveEventSource(String) | 
				已过时.
			 从代码项中移除指定的事件源。 | 
| SetOption(String, Object) | 
		已过时.
	 设置脚本引擎特定于实现的选项。(继承自 VsaItem) | 
| ToString() | 
		已过时.
	 返回表示当前对象的字符串。(继承自 Object) |