IJSVsaItem 接口

定义

注意

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 IJSVsaItem
[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.")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("1F2377AC-8A09-417B-89DC-D146769F0B45")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IJSVsaItem
[<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.")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("1F2377AC-8A09-417B-89DC-D146769F0B45")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IJSVsaItem = interface
Public Interface IJSVsaItem
派生
属性

属性

IsDirty

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

ItemType

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

Name

获取或设置项的名称。

方法

GetOption(String)

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

SetOption(String, Object)

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

适用于