IVsaItem 接口
注意:此 API 现在已过时。
为所有添加到 .NET 脚本引擎的项定义一个接口,包括代码项、引用项和全局项。 它定义应用于该引擎识别的所有项类型的泛型属性和方法。
命名空间: Microsoft.Vsa
程序集: Microsoft.Vsa(在 Microsoft.Vsa.dll 中)
语法
声明
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")> _
<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.")> _
Public Interface IVsaItem
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")]
[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.")]
public interface IVsaItem
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")]
[ObsoleteAttribute(L"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 interface class IVsaItem
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")>]
[<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.")>]
type IVsaItem = interface end
public interface IVsaItem
IVsaItem 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
IsDirty | 返回一个值,它指示该项的当前内存中表示形式是否与保留的表示形式不同。 | |
ItemType | 获取指定对象的类型(如 IVsaItems.CreateItem Method 方法所确定的那样)。 | |
Name | 获取或设置项的名称。 |
页首
方法
名称 | 说明 | |
---|---|---|
GetOption | 获取脚本引擎实现特定的选项。 | |
SetOption | 设置脚本引擎特定于实现的选项。 |
页首