VsaItem 类
定义
注意
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.
为所有添加到 .NET 脚本引擎的项定义一个对象,包括代码项、引用项和全局项。Defines an object for all items added to the .NET script engine, including code items, reference items, and global items.
public ref class VsaItem : Microsoft::Vsa::IVsaItem
public class VsaItem : Microsoft.Vsa.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.")]
public class VsaItem : Microsoft.Vsa.IVsaItem
type VsaItem = class
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 VsaItem = class
interface IVsaItem
Public Class VsaItem
Implements IVsaItem
- 继承
-
VsaItem
- 派生
- 属性
- 实现
属性
| _item | |
| IsDirty |
获得一个值,它指示该项的当前内存中表示形式是否与保留的表示形式不同。Gets a value indicating whether the current in-memory representation of the item differs from the persisted representation. |
| ItemType |
获取指定对象的类型(如 CreateItem(String, VsaItemType, VsaItemFlag) 方法所确定的那样)。Gets the specified object's type, as determined by the CreateItem(String, VsaItemType, VsaItemFlag) method. |
| Name |
获取或设置项的名称。Gets or sets the name of the item. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetOption(String) |
获取脚本引擎实现特定的选项。Gets implementation-specific options for a script engine. |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| SetOption(String, Object) |
设置脚本引擎特定于实现的选项。Sets implementation-specific options for a script engine. |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |