Share via


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)。

回頁首

請參閱

參考

Microsoft.Vsa 命名空間