Share via


VsaCodeItem 類別

定義

警告

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 ref class VsaCodeItem : Microsoft::VisualBasic::Vsa::VsaItem, Microsoft::Vsa::IVsaCodeItem
public class VsaCodeItem : Microsoft.VisualBasic.Vsa.VsaItem, Microsoft.Vsa.IVsaCodeItem
[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 class VsaCodeItem : Microsoft.VisualBasic.Vsa.VsaItem, Microsoft.Vsa.IVsaCodeItem
type VsaCodeItem = class
    inherit VsaItem
    interface IVsaCodeItem
    interface IVsaItem
[<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 VsaCodeItem = class
    inherit VsaItem
    interface IVsaCodeItem
    interface IVsaItem
Public Class VsaCodeItem
Inherits VsaItem
Implements IVsaCodeItem
繼承
VsaCodeItem
屬性
實作

建構函式

VsaCodeItem(IVsaCodeItem)
已淘汰.

代表要由指令碼引擎編譯的程式碼項目。

屬性

_item
已淘汰.

代表要由指令碼引擎編譯的程式碼項目。

(繼承來源 VsaItem)
CodeDOM
已淘汰.

取得程式碼項目中所代表的程式碼文件物件模型 (CodeDOM)。

IsDirty
已淘汰.

取得值,指出項目目前記憶體中表示是否不同於保存的表示。

(繼承來源 VsaItem)
ItemType
已淘汰.

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

(繼承來源 VsaItem)
Name
已淘汰.

取得或設定項目的名稱。

(繼承來源 VsaItem)
SourceText
已淘汰.

取得或設定指定程式碼項目的文字,包含任何自動產生的程式碼。

方法

AddEventSource(String, String)
已淘汰.

將事件來源加入程式碼項目。

AppendSourceText(String)
已淘汰.

將指定的文字附加至程式碼項目結尾。

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetOption(String)
已淘汰.

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

(繼承來源 VsaItem)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
RemoveEventSource(String)
已淘汰.

從程式碼項目中移除指定的事件來源。

SetOption(String, Object)
已淘汰.

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

(繼承來源 VsaItem)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於