IJSVsaGlobalItem 接口

定义

警告

此 API 现已过时。

介绍添加到脚本引擎中的全局对象。Describes global objects added to the script engine.

public interface class IJSVsaGlobalItem : Microsoft::JScript::Vsa::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("15B2CCE5-D1EA-4EB9-9E06-8729C72D631B")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IJSVsaGlobalItem : Microsoft.JScript.Vsa.IJSVsaItem
type IJSVsaGlobalItem = interface
    interface IJSVsaItem
Public Interface IJSVsaGlobalItem
Implements IJSVsaItem
属性
实现

属性

ExposeMembers

设置一个值,该值指示是否应当使全局对象的成员对脚本引擎可用。Sets a value indicating whether the members of the global object should be made available to the script engine. [目前尚不支持。][Not presently supported.]

IsDirty

返回一个值,它指示该项的当前内存中表示形式是否与保留的表示形式不同。Returns a value indicating whether the current in-memory representation of the item differs from the persisted representation.

(继承自 IJSVsaItem)
ItemType

获取指定对象的类型(如 CreateItem(String, JSVsaItemType, JSVsaItemFlag) 方法所确定的那样)。Gets the specified object's type, as determined by the CreateItem(String, JSVsaItemType, JSVsaItemFlag) method.

(继承自 IJSVsaItem)
Name

获取或设置项的名称。Gets or sets the name of the item.

(继承自 IJSVsaItem)
TypeString

获取或设置全局项的类型。Gets or sets the type of the global item.

方法

GetOption(String)

获取脚本引擎实现特定的选项。Gets implementation-specific options for a script engine.

(继承自 IJSVsaItem)
SetOption(String, Object)

设置脚本引擎特定于实现的选项。Sets implementation-specific options for a script engine.

(继承自 IJSVsaItem)

适用于