IVsaItem 接口

定义

注意

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 脚本引擎的项定义一个接口,包括代码项、引用项和全局项。 它定义应用于该引擎识别的所有项类型的泛型属性和方法。

public interface class IVsaItem
[System.Runtime.InteropServices.Guid("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaItem
[System.Runtime.InteropServices.Guid("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[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 interface IVsaItem
[<System.Runtime.InteropServices.Guid("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaItem = interface
[<System.Runtime.InteropServices.Guid("E0C0FFE5-7eea-4ee5-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<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 IVsaItem = interface
Public Interface IVsaItem
派生
属性

属性

IsDirty
已过时.

返回一个值,它指示该项的当前内存中表示形式是否与保留的表示形式不同。

ItemType
已过时.

获取指定对象的类型(如 CreateItem(String, VsaItemType, VsaItemFlag) 方法所确定的那样)。

Name
已过时.

获取或设置项的名称。

方法

GetOption(String)
已过时.

获取脚本引擎实现特定的选项。

SetOption(String, Object)
已过时.

设置脚本引擎特定于实现的选项。

适用于