共用方式為


IVsaItem 介面

定義

警告

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
衍生
屬性

屬性

IsDirty
已淘汰.

傳回值,指出項目目前的記憶體中表示與保存的表示是否有所不同。

ItemType
已淘汰.

取得 CreateItem(String, VsaItemType, VsaItemFlag) 方法所決定的指定物件類型。

Name
已淘汰.

取得或設定項目的名稱。

方法

GetOption(String)
已淘汰.

取得指令碼引擎的實作特定選項。

SetOption(String, Object)
已淘汰.

設定指令碼引擎的實作特定選項。

適用於