IVsaGlobalItem 接口
注意:此 API 现在已过时。
介绍添加到脚本引擎中的全局对象。
命名空间: Microsoft.Vsa
程序集: Microsoft.Vsa(在 Microsoft.Vsa.dll 中)
语法
声明
<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.")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("4E76D92E-E29D-46f3-AE22-0333158109F1")> _
Public Interface IVsaGlobalItem _
Inherits IVsaItem
[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.")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("4E76D92E-E29D-46f3-AE22-0333158109F1")]
public interface IVsaGlobalItem : IVsaItem
[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.")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"4E76D92E-E29D-46f3-AE22-0333158109F1")]
public interface class IVsaGlobalItem : IVsaItem
[<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.")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("4E76D92E-E29D-46f3-AE22-0333158109F1")>]
type IVsaGlobalItem =
interface
interface IVsaItem
end
public interface IVsaGlobalItem extends IVsaItem
IVsaGlobalItem 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
ExposeMembers | 设置一个值,该值指示是否应当使全局对象的成员对脚本引擎可用。[目前尚不支持。] | |
IsDirty | 返回一个值,它指示该项的当前内存中表示形式是否与保留的表示形式不同。 (继承自 IVsaItem。) | |
ItemType | 获取指定对象的类型(如 IVsaItems.CreateItem Method 方法所确定的那样)。 (继承自 IVsaItem。) | |
Name | 获取或设置项的名称。 (继承自 IVsaItem。) | |
TypeString | 获取或设置全局项的类型。 |
页首
方法
名称 | 说明 | |
---|---|---|
GetOption | 获取脚本引擎实现特定的选项。 (继承自 IVsaItem。) | |
SetOption | 设置脚本引擎特定于实现的选项。 (继承自 IVsaItem。) |
页首