CodeExpression 類別

定義

代表一個代碼表達式。 這是其他程式碼表達式物件的基底類別,且從未被實例化。

public ref class CodeExpression : System::CodeDom::CodeObject
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public class CodeExpression : System.CodeDom.CodeObject
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type CodeExpression = class
    inherit CodeObject
Public Class CodeExpression
Inherits CodeObject
繼承
CodeExpression
衍生
屬性

備註

CodeExpression 提供命名空間內 System.CodeDom 程式碼表達式的基底類別。 CodeExpression 從未被實例化。 它提供一個抽象基底類別,用於其他類型的程式碼表達式。

建構函式

名稱 Description
CodeExpression()

初始化 CodeExpression 類別的新執行個體。

屬性

名稱 Description
UserData

取得目前物件的使用者可定義資料。

(繼承來源 CodeObject)

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱