IVsaItem 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
- 衍生
- 屬性
屬性
| 名稱 | Description |
|---|---|
| IsDirty |
已淘汰.
回傳一個值,表示目前記憶體中的項目表示是否與持久表示不同。 |
| ItemType |
已淘汰.
取得指定物件的型別,依據方法 CreateItem(String, VsaItemType, VsaItemFlag) 所決定。 |
| Name |
已淘汰.
取得或設定物品名稱。 |
方法
| 名稱 | Description |
|---|---|
| GetOption(String) |
已淘汰.
提供針對腳本引擎的實作專屬選項。 |
| SetOption(String, Object) |
已淘汰.
為腳本引擎設定實作專屬選項。 |