CodeExpression CodeExpression CodeExpression CodeExpression Class

定義

表示程式碼運算式。Represents a code expression. 這是永不執行個體化之其他程式碼運算式物件的基底類別。This is a base class for other code expression objects that is never instantiated.

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

備註

CodeExpressionSystem.CodeDom命名空間內的程式碼運算式提供基類。CodeExpression provides a base class for code expressions within the System.CodeDom namespace. CodeExpression永遠不會具現化。CodeExpression is never instantiated. 相反地, 它會為其他類型的程式碼運算式提供抽象基類。Instead it provides an abstract base class for other types of code expressions.

建構函式

CodeExpression() CodeExpression() CodeExpression() CodeExpression()

初始化 CodeExpression 類別的新執行個體。Initializes a new instance of the CodeExpression class.

屬性

UserData UserData UserData UserData

取得目前物件的使用者可定義資料。Gets the user-definable data for the current object.

(Inherited from CodeObject)

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於

另請參閱